Learn Basic CSS by Building a Cafe Menu - Step 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.

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.

I looked. It looks the same as the one in the picture

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

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.

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