Tell us what’s happening:
Describe your issue in detail here.
I’m either getting this feedback, " You should not add a new style
tag. Add the new CSS rules to the existing style
tag." or this feedback, " You should not change the existing h1
selector."
It doesn’t seem to matter what I do, even if these things center the text. I’m wondering what I’m missing, or if I found a bug.
Your code so far
h1 { text-align: center; } h2 { text-align: center; } p { text-align: center; }##Second case is in response to this:
h1, h2, p {
# text-align: center;
#}
#</style>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Cafe Menu</title>
<!-- User Editable Region -->
<style>
h1 {
text-align: center;
}
h2 {
text-align: center;
}
p {
text-align: center;
}
</style>
<!-- User Editable Region -->
</head>
<body>
<main>
<h1>CAMPER CAFE</h1>
<p>Est. 2020</p>
<section>
<h2>Coffee</h2>
</section>
</main>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0
Challenge Information:
Learn Basic CSS by Building a Cafe Menu - Step 12