<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Numeros Pares</title>
</head>
<body>
<script>
var x = 1;
while(x <= 100){
if (x % 2 == 0){
document.write("El numero " + x + " es par.", "<br>");
x++;
}
else{
x++;
}
}
document.write("Fin del programa");
</script>
</body>
</html>