Learn Basic CSS by Building a Cafe Menu - Step 1

Tell us what’s happening:
Describe your issue in detail here.

I followed the steps exactly as the ending of the catphoto app code and it is telling me that I am incorrect here. Can someone point to my mistake?

Your code so far

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

Your browser information:

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

Challenge: Learn Basic CSS by Building a Cafe Menu - Step 1

Link to the challenge:

Did you include a closing tag for the html element? The html element needs both an opening and closing tag because you can put other elements inside of it.

1 Like

Hi, no I didn’t I just closed the element with > but I was confused since this had worked in my prior code.

So should I do …… with another element inside holding the lang attribute?

The opening <html> tag is where the lang attribute belongs. You did that just fine. But the html element requires a closing tag. You just need to add the closing tag.

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