This forum is now read-only. Please use our new forums! Go to forums

banner
Close banner
0 points
Submitted by SophiaLuvsBunnys
about 11 years

PLZZZZ HELP ME THANKS!!

PLZZ could someone help me understand the coding for the Section Class and ID Selectors exercise 0.3 ID please :( I don’t understand how to do this!!SO if you could help THANKS SOOOO MUCH here’s my code THANK YOU

In my index html

Answer 51696adf51660f39dd000410

5 votes

Permalink

The # is for IDs and the . is for class selector.

So just change the # to . and you should be good to go.

points
Submitted by NotGoingToTell
about 11 years

1 comments

Raahul Jaykar over 10 years

Answer 5183175f5c0606df990012ff

3 votes

Permalink

correct code for stylesheet.css

#serious{ font-family:Courier; color: #cc0000; }

points
almost 11 years

5 comments

Excel almost 11 years

Thanks this helped me a lot.

Geraldine King Savianeso almost 11 years

No problem, if you need anymore help on anything just give a shout out.

Ric Andrews over 10 years

Thank you so much

Ric Andrews over 10 years

I will if i need help

Thatjuanusername about 9 years

thx u made me 50 seconds more lazy u ruined my 50 seconds of greatness

Answer 51695b2e764fd81b35000084

2 votes

Permalink

In CSS change your first line to:

.serious {

The # is for IDs.

points
Submitted by Mark
about 11 years

Answer 516eb54ee0b1a6e23f0033c1

1 vote

Permalink

In your index code you need to change your “serious” element to an id rather than a class.

enter code here
You have: <p class="serious">I AM BORED!</p>  You need: <p id='serious'>I AM BORED!</p>

Hope this helped!

points
Submitted by RyanStoika
almost 11 years

1 comments

Excel almost 11 years

This helped me a lot. Thanks. :)

Answer 51b754ea9c4e9df89a00cc22

0 votes

Permalink

Add id instead of class.

Hope it helps!

Ethan Out

points
Submitted by Ethan
almost 11 years

Answer 51d53ed7282ae34643006fd2

0 votes

Permalink

In index file use id instead of class it works for fine for me.

I AM BORED!

points
Submitted by SunilSahu
almost 11 years

1 comments

Thatjuanusername about 9 years

good for u, u little fagget