Create a style rule that has an id selector name of #uppercase

can someone help me out with this please?

Create a style rule 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

this is what i have

#uppercase {text-transform: uppercase;}

Is your selector ‘id = #uppercase’ or ‘id =uppercase’?
If it’s the first one changing it to the second one might fix the problem.

it is…

id= #uppercase <p {text-transform:uppercase;}

i changed it to the second one but it didn’t work.

thank you it i worked i used…

#uppercase {text-transform:uppercase;}

Hello there

For future posts, if you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

2 Likes

I wrote styles using id. Now I often use classes, and it is much more convenient. I use id only when it is necessary to give unique characteristics.

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