Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>JavaScript For Loop</title> </head> <body> <script> for(let i=1; i<=5; i++) { document.write("<p>The number is " + i + "</p>"); } </script> </body> </html>