Tell us what’s happening:
I am struggling in the forms section, stage 15 where it says my “Last Name input should be a size of 20”. There was a example provided as . I have tried this code character and word for word and change the size in my code to 20 "Last name:
. Could I please have some guidance on where my fault is?
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Hotel Feedback Form</title>
</head>
<body>
<header>
<h1>Hotel Feedback Form</h1>
<p>
Thank you for staying with us. Please provide feedback on your recent
stay.
</p>
</header>
<main>
<form method="POST" action="https://hotel-feedback.freecodecamp.org">
<!-- User Editable Region -->
<fieldset>
<legend>Personal Information</legend>
<label for="fullname">First name:</label>
<input id="fullname" name="fullname" type="text" placeholder="Ex. John Doe" />
</br>
<label for="lastName">Last Name:</label>
<input id="lastName" name="lastName" type="text" size="20" />
</br>
<label for="email">Email address:</label>
<input id="email" name="email" type="email" placeholder="example@email.com" required />
</br>
<!-- User Editable Region -->
</fieldset>
</form>
</main>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Challenge Information:
Build a Hotel Feedback Form - Step 15