retreat-2024 / index.html
dmaxwell's picture
Add error message element
eb96b8f verified
raw
history blame contribute delete
766 Bytes
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="style.css" />
<title>2024 Retreat - Transformers.js</title>
</head>
<body>
<main>
<section>
<label id="file-upload-label">
<input type="file" id="image-upload" accept="image/*">
<img src="upload.svg" alt="Upload an image" id="upload-icon">
Upload an image
</label>
</section>
<p id="error-msg"></p>
<div id="image-container"></div>
</section>
<section id="result">
<p id="status"></p>
<p id="text-description"></p>
</section>
</main>
<script src="index.js" type="module"></script>
</body>
</html>