<!DOCTYPE html>
<html>
<head>
<title>Modals practice</title>
</head>
<body>
<h2 style="text-align: center;">Open console</h2>
<script>
const number = prompt('Enter number', 100);
alert('Not a number');
for (let i = 2; i <=10; i++){
if (i % 2 == 0) {
alert( 'Even' );
} else{
alert( 'Odd')
}
}
</script>
</body>
</html>