Code confirmation

On step 13 of building Cafe Menu. Instructions ask to style h2 and p element. Would the code below not be correct?

h1 { text-align: center; }
<style>
  h2 {
    text-align: center;
  }
</style>
<style>
p {
  text-align: center;
}  
</style>

Thank you in advance :slight_smile:

No, that code is not correct. You should only use one style element.

It is easier if you use the Ask For Help button so we get a link to the challenge when you ask a question.

Oh, I see! Thank you very much. And yes I will use the Ask For Help button next time :slight_smile:

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.