clean: remove useless label

This commit is contained in:
2025-12-28 17:53:58 +01:00
parent e9969841b1
commit b15b473033

View File

@@ -1,15 +1,14 @@
% layout 'default';
% stash title => 'Urupam - URL Shortener';
<main class="page">
<h1>Urupam</h1>
<form id="shorten-form">
<div class="form-group">
<label for="url">Enter URL to shorten:</label>
<input type="url" id="url" name="url" placeholder="https://example.com" required>
<input type="url" id="url" name="url" placeholder="https://example.com" required aria-label="URL to shorten">
</div>
<button type="submit" id="submit-btn">Shorten URL</button>
</form>
<div id="result" class="result"></div>
<div class="brand-mark">urupam</div>
<script>
const form = document.getElementById('shorten-form');
const urlInput = document.getElementById('url');