Learn HTML Forms by Building a Registration Form - Step 1

Tell us what’s happening:
im not sure what i’m doing wrong so far. Ive typed in the code as requested…

Your code so far

!DOCTYPE html

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36

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

Link to the challenge:

Welcome to our community!
You forgot to add angle brackets:

<!DOCTYPE html>

Got it thank you very much. Also I have a question about selector for css. Why do some selectors require a period before the name and others don’t? Thank you.

period is used to select elements of a certain class.

for eg

<a class=“pink” href=“#”>link</a>
<p class=“pink”>pink paragraph </a>

to select the a element

a { }

to select all pink classed elements

.pink {}

Ok that makes since, thank you very much for your help.

1 Like