<label for="weight">Weight (kg):</label>
<input type="number" id="weight" name="weight" required>
<button type="submit">Calculate BMI</button>
</form>
<div id="result"></div>
</main>
<footer>
<p>© 2024 BMI Calculator</p>
</footer>
<script src="script.js"></script>