Learn HTML Forms by Building a Registration Form - Step 31

Tell us what’s happening:
Step31

Your code so far


<!-- User Editable Region -->

<!DOCTYPE html>
<html> lang="en" </html> 

<!-- User Editable Region -->

Your browser information:

User Agent is: Mozilla/5.0 (iPad; CPU OS 16_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/115.0.5790.130 Mobile/15E148 Safari/604.1

Challenge: Learn HTML Forms by Building a Registration Form - Step 2

Link to the challenge:

an attribute goes inside the opening tag of it’s element. the lang attribute belongs inside the html element’s opening tag.

My problem is actually this

<input type='file'></input>

Nest that inside your label element. That’s all you need to do.

Mod edit: removed

1 Like

You’re also not closing your tags, that’s gonna mess you up a lot. Always close your tags.

Well, you’re technically closing them with the slash, but these aren’t self closing tags like meta or link.

1 Like

Please do not give code to pass the challenges

Read the whole post. I’m not just giving an answer

I understand. However, you can not give them any code to pass the challenge

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.