| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <link rel="stylesheet" href="style.css" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>Web Worker Example</title> | |
| </head> | |
| <body> | |
| <main class="container"> | |
| <label> | |
| <input id="file-upload" type="file" /> | |
| <img class="upload-icon" src="upload-icon.png" /> Upload image | |
| </label> | |
| <div id="image-container"> | |
| </div> | |
| <p id="status"></p> | |
| </main> | |
| <script src="./index.js" type="module"></script> | |
| </body> | |
| </html> | |