diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-06-09 09:14:15 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-06-09 09:14:15 +0200 |
| commit | 0f564347ca3b5e3dbe7e5792b35689ab42c3c6f5 (patch) | |
| tree | b2d2796930b6edf44a4ed9296532b9f0272a6eea /src/blog | |
| parent | 9523934828403b93a29f2c139366a7bcf2ae33c9 (diff) | |
| download | sebastiano.tronto.net-0f564347ca3b5e3dbe7e5792b35689ab42c3c6f5.tar.gz sebastiano.tronto.net-0f564347ca3b5e3dbe7e5792b35689ab42c3c6f5.zip | |
Fix HTML void tags
Diffstat (limited to 'src/blog')
| -rw-r--r-- | src/blog/2025-06-06-webdev/webdev.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/blog/2025-06-06-webdev/webdev.md b/src/blog/2025-06-06-webdev/webdev.md index fa02ab3..6b049e5 100644 --- a/src/blog/2025-06-06-webdev/webdev.md +++ b/src/blog/2025-06-06-webdev/webdev.md | |||
| @@ -418,15 +418,15 @@ index.html: | |||
| 418 | <!doctype html> | 418 | <!doctype html> |
| 419 | <html lang="en-US"> | 419 | <html lang="en-US"> |
| 420 | <head> | 420 | <head> |
| 421 | <meta charset="utf-8" /> | 421 | <meta charset="utf-8"> |
| 422 | <meta name="viewport" content="width=device-width" /> | 422 | <meta name="viewport" content="width=device-width"> |
| 423 | <title>Multiply two numbers</title> | 423 | <title>Multiply two numbers</title> |
| 424 | <script src="./script.js" defer></script> | 424 | <script src="./script.js" defer></script> |
| 425 | </head> | 425 | </head> |
| 426 | 426 | ||
| 427 | <body> | 427 | <body> |
| 428 | <p> | 428 | <p> |
| 429 | <input id="aInput" /> x <input id="bInput" /> | 429 | <input id="aInput"> x <input id="bInput"> |
| 430 | <button id="goButton">=</button> | 430 | <button id="goButton">=</button> |
| 431 | <span id="resultText"></span> | 431 | <span id="resultText"></span> |
| 432 | </p> | 432 | </p> |
| @@ -467,7 +467,7 @@ button.addEventListener("click", () => { | |||
| 467 | The final result will look something like this: | 467 | The final result will look something like this: |
| 468 | 468 | ||
| 469 | <p style="text-align:center"> | 469 | <p style="text-align:center"> |
| 470 | <input id="aInput" /> x <input id="bInput" /> | 470 | <input id="aInput"> x <input id="bInput"> |
| 471 | <button id="goButton">=</button> | 471 | <button id="goButton">=</button> |
| 472 | <span id="resultText"></span> | 472 | <span id="resultText"></span> |
| 473 | </p> | 473 | </p> |
