Tell us what’s happening:
Describe your issue in detail here.
Your code so far
<meta charset="utf-8" />
<style> <h1> text-align=center; </h1> </style>
Your browser information:
User Agent is:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6 Safari/605.1.15
Challenge: Learn Basic CSS by Building a Cafe Menu - Step 11
Link to the challenge:
Hi, welcome to the forum!
We see you have posted some code but did you have a question?
yes, I forgot to put it
I need to now how to put text-align; center
you must follow the template given to you in the exercise to write a CSS selector.
If I want to write a css selector that selects the body element for example, then I would write it as follows
Then inside the curly braces area I would write the properties and their values.
So the word text-align is a property name and the value is center.
that is how you would write that.
Try this exercise again and keep the template in mind as you type.