CIST2381 Mobile Application Development
Wednesday, August 23, 2017
CH1 Ex 1
<!DOCTYPE html>
<html>
<body>
<h2>JavaScript Loops</h2>
<p id="demo"></p>
<script>
var text = "";
var i;
for (i = 1; i <= 10; i++) {
text += i + "<br>";
}
document.getElementById("demo").innerHTML = text;
</script>
</body>
</html>
JavaScript Loops
Swift Example
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)