Whats wrong with my code?

h1,h2,p,{text-align:center;} h1 { text-align: center; } h2 { text-align: center; } p { text-align: center; }

I think that I have the coding write maybe not , would apricate some help
when I delete the three selectors it tells me you should use a single type
selector for all three elements h1,h2,p, and to make sure to use that order
so whats wrong with it ?

1 Like

To post your code as well as a link to the step click on the ‘help’ button which appears next to the ‘reset’ button after unsuccessfully submitting your code a few times:

2 Likes
  • there is a syntax error, remove “comma” after that “p” element
  • can you also share this “step/exercise” url as well, thanks :slight_smile:

happy coding :slight_smile:

2 Likes

sorry this took so long to reply
thanks for the help staring me right in the face and couldn’t see it.

2 Likes

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