Learn Basic CSS by Building a Cafe Menu - Step 1

Tell us what’s happening:
Describe your issue in detail here.
As you learned in the last few steps of the Cat Photo App, there is a basic structure needed to start building your web page.

Add the <!DOCTYPE html> tag, and an html element with a lang attribute of en.

this is how the condition sounds, give a solution to this problem and not a hint, I’m tired of doing this
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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36

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

Link to the challenge:

the closing tag is missing in HTML

Hi!

Solutions aren’t allowed on the forum, as they don’t help people learn. As a moderator I’d have to remove a solution if someone gave one.

Html elements, aside from certain elements like img need their opening and closing tags to be complete.

<p>I am correctly closed.</p>

<p Iam not.</p>

<html lang="en"</html>

Your html element is not closed correctly. It is missing a bracket in its opening tag.

1 Like