Learn Basic CSS by Building a Cafe Menu - Step 1

Tell us what’s happening:

The code is not passing but i don’t understand why. it worked in the previous lesson(cat photo app) and everything i searched online shows the same

Your code so far


<!-- User Editable Region -->

<!DOCTYPE html>

<html lang="en">

<!-- 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/119.0.0.0 Safari/537.36

Challenge Information:

Learn Basic CSS by Building a Cafe Menu - Step 1

Welcome to the forum

You need to include the closing html tag to pass the step.

Happy coding

That worked. Thanks! Any idea why the code passed without the closing html tag in the cat app photo exercise?

1 Like

The cat app does have a closing html tag, just checked.

Pro tip: create opening and closing tags at the same time, then nest content within it.

Most people forget to add a closing tag, especially after spending time coding several other elements.

i went back and checked it as well. not sure how it passed on mine, but if having the tag is how it should’ve worked, i now know. thanks!

1 Like

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