javascript
<!DOCTYPE html>
<html>
<head>
<title>JavaScript Loop Example</title>
</head>
<body>
<h2>JavaScript Loop Output:</h2>
<div id="output"></div>
<script>
let text = "";
// A 'for' loop that runs 5 times (from 1 to 5)
for (let i = 1; i <= 5; i++) {
text += "Count number: " + i + "<br>";
}
// Display the result on the webpage
document.getElementById("output").innerHTML = text;
</script>
</body>
</html>