yazzi
1
Tell us what’s happening:
I have no idea what I’m doing wrong. Halp
Your code so far
<!-- User Editable Region -->
<!DOCTYPE html>
<html lang="en">
<!-- User Editable Region -->
Your browser information:
User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
Challenge: Learn Basic CSS by Building a Cafe Menu - Step 1
Link to the challenge:
The html
element needs both an opening and closing tag.
yazzi
3
where would they be located. On both the codes or on one singular code
I’m not sure I understand your question.
Take a look at step 1 of the Cat Photo App course. Notice how the html
element has both an opening and closing tag.
yazzi
5
I looked. It looks the same as the one in the picture
yazzi
6
<html><!DOCTYPE </html>
<html> lang="en"</html>
yazzi
7
ive tried again and still no correct answer
Your original DOCTYPE tag was correct. I would go back to that one.
<html> lang="en"</html>
The lang
attribute goes on the opening tag, not between the tags.
system
Closed
10
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.