You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
679 B
HTML
24 lines
679 B
HTML
<!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> |