Tell us what’s happening:
I am unable to resolve the following issue: “11. You should associate every input element with a label element using the for and id attributes.”
What am I doing wrong, please?
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Donation Form</title>
</head>
<body>
<h1>Donation Form</h1>
<form>
<label for="full-name">Full Name:</label>
<input id="full-name" type="text" name="name" required>
<label for="email-address">Email Address:</label>
<input id="email-address" type="email" name="email" required>
<label for="donation-amount">Donation Amount ($):</label>
<input id="donation-amount" type="number" name="amount" required>
<input type="checkbox" name="newsletter">
<label for="subscribe">Subscribe</label>
<input id="subscribe" type="submit" name="subscribe" value="Send">
</form>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
Challenge Information:
Debug a Donation Form - Debug a Donation Form

