| 02-1-dom-io/division.js | ●●●●● patch | view | raw | blame | history | |
| 02-1-dom-io/index.html | ●●●●● patch | view | raw | blame | history |
02-1-dom-io/division.js
New file @@ -0,0 +1,3 @@ const rest = -11 % 7; const resultEl = document.getElementById("result"); resultEl.textContent = rest; 02-1-dom-io/index.html
New file @@ -0,0 +1,11 @@ <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>DOM-output</title> </head> <body> <div id="result"></div> <script src="division.js"></script> </body> </html>