Bonus task for HW#2

master
Anna Prokhorova 5 years ago
parent 89bcb811aa
commit fdfa5e667f

@ -0,0 +1,24 @@
<!DOCTYPE html>
<html>
<head>
<title>Bonus task HW #2 - Prokhorova A.</title>
</head>
<body>
<form>
<script>
var cntr = 1;
for (var i = 0; i < 3; i++) {
for (var j = 0; j < 3; j++) {
document.write("<button type=\"button\">" + cntr + "</button> ");
cntr += 1;
}
document.write("<br>");
}
document.write("<button type=\"button\">0</button> ");
document.write("<button type=\"button\">-</button> ");
document.write("<button type=\"button\">+</button> ");
</script>
</form>
</body>
</html>
Loading…
Cancel
Save