Skip to content
← Back to Community
Code explanation
Profile icon
mdantey

I'm trying to complete the following challenges.

Create a style rule on line 14 that has an id selector name of #uppercase. This will target our paragraph
Within that rule add a declaration that sets the text-transform property to uppercase

I have attempted to write the code, could someone correct and explain to me the error of my ways?

Thanks

Voters
Profile icon
ShauryaSrivast5
Profile icon
mdantey
Comments
hotnewtop
Profile icon
AdCharity

well uh
in CSS you do style rules like this:

#uppercase{ /*Apply CSS inside here*/ text-transform: uppercase; }

most styles follow a

[id, class or whatever]{ /*Brackets must contain the CSS*/ /*Random properties go in here, always end with a semicolon*/ font-size: 1.1em; }