simple code to set the password of the web by javascript

simple code to set the password of the web by javascript
below is the code:
<script type=”text/javascript”>

loopy()

function loopy() {

var sWord =””

while (sWord != “jincan”) {//set the password:jincan

sWord = prompt(“Enter the password for VIP”)

}

alert(“Welcome!”)

}

</script>

Resolved: DeepL translated word document cannot be edited
« Previous 04/29/2024 18:02
en_USEnglish