Hey! I’m trying to center the h2 and p elements for the camper cafe menu but the code is not working, I’m not sure why. I did the same thing I did for h1 element.
the prompt: In the previous step, you used a type selector to style the h1
element. Go ahead and center the h2
and p
elements with a new type selector for each one.
my code:
<style>
h1 {
text-align: center;
}
</style>
<style>
h2 {
text-align: center;
}
</style>
<style>
p{
text-align: center;
}
</style>
the feedback: Sorry, your code does not pass. You’re getting there.
You should add a new h2
selector.
What does a new “h2” selector mean? I’m not sure what I’m missing.
thanks!