red-tool-97 / index.html
akhaliq's picture
akhaliq HF Staff
Upload folder using huggingface_hub
4f1f4bb verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A simple, responsive Todo application built with vanilla HTML, CSS, and JavaScript, featuring local storage persistence.">
<title>Vanilla Todo App</title>
<link rel="stylesheet" href="assets/css/styles.css">
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>✅</text></svg>">
</head>
<body>
<header class="header">
<h1 class="app-title">My Simple Todo List</h1>
<p>
<a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank" rel="noopener noreferrer">Built with anycoder</a>
</p>
</header>
<main class="container">
<form id="todo-form">
<input
type="text"
id="todo-input"
placeholder="What needs to be done?"
aria-label="New task input"
required
>
<button type="submit" id="add-btn">Add Task</button>
</form>
<ul id="todo-list">
<!-- Tasks will be injected here by JavaScript -->
</ul>
</main>
<footer class="footer">
&copy; <span id="current-year"></span> Todo App. All rights reserved.
</footer>
<script>
// Set current year dynamically for the footer
document.getElementById('current-year').textContent = new Date().getFullYear();
</script>
<script src="assets/js/app.js"></script>
</body>
</html>