Code html
<html>
<head>
<script language="javascript">
function afficheMessage() {
var rep=prompt('Quel est le prénom dEinstein ?');
if (rep=="Albert"||rep=="ALBERT") {
alert('BRAVO !!!');
} else {
alert('Réponse incorrecte !');
}
}
</script>
</head>
<body>
<div style="text-align:center" >Cliquer sur le bouton ci-dessous :<br>
<input type="button" value="Cliquer" onClick="afficheMessage()"></div>
</body>
</html>