Learn CSS by building cafe menu step 11

Cafe Menu

element {text-align: center;}

idk whats wrong it says i need to Center your h1 element by setting its text-align property to the value center .

1 Like

right. you can’t say element anywhere.

elements have names, just like pets. so use element’s name

You need to put everything on its right place like as they want

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.


Mod edit: removed solution


It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.