Tell us what’s happening:
Your second input element should have a name attribute with a value of email.
i did this but it says there is error
where is the error
I couldn’t understand
I wrote it correctly, but it says there is an error!!!
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:
<input type="text" name="name" id="Full-name" required>
</label>
<label for="email"> Email Address:
<input type="email" name="email" id="email" required>
</label>
<label for="amount"> Donation Amount ($):
<input type="number" name="amount" id="amount" required>
</label>
<label for="newsletter">
<input type="checkbox" name="newsletter" id="newsletter">
Subscribe
</label>
<input type="submit" 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/152.0.0.0 Safari/537.36
Challenge Information:
Debug a Donation Form - Debug a Donation Form