Tell us what’s happening:
Why am I failing the test, although it is centering the h1 element like asked, the result is continously:
##Test:
Sorry, your code does not pass. You’re getting there.
Hint
You should have an h1
selector in your style
element.
Your code so far
<head>
<meta charset="utf-8" />
<title>Cafe Menu</title>
<!-- User Editable Region -->
<style>
h1{
text-align: center;
}
</style>
<!-- User Editable Region -->
</head>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/111.0
Challenge: Learn Basic CSS by Building a Cafe Menu - Step 11
Link to the challenge: