Números Pares:
Comparto mi solución con la comunidad en este foro, Prueba modificando mi solución para comparar diferentes resultados.
<!DOCTYPE html>
<html lang="en">
<head>
    <title>Practica-Js</title>
</head>
<body>
    <script>
        function numerosPares() {
            numeroMaximo = 100; // fin bucle.
            document.write("<strong>"+ "Imprimiendo numeros pares:" + "</strong>" + "<br>");
            for(let i = 0; i <= numeroMaximo; i++)  {
                if (i % 2 == 0) {
                    document.write("i = " + i + "<br>");
                }
            }
            document.write("<strong>" + "FIN!" + "</strong>");
            document.write("<td>" + "</td>");
        }
        numerosPares();
    </script>
</body>
</html> 
            