This forum is now read-only. Please use our new forums at discuss.codecademy.com.

178 points
1baec126fea66cd3639aa94944f777ec?s=140&d=retro
Submitted by
mizzmurple
about 5 years ago

Oops, try again! Did you remember to add a border of color #3A5FCD around every element?

Exercise: Put a border with the hex color #3A5FCD around every HTML element. It can be solid, dotted, dashed, 2px, 3px, whatever you like!

I'm stuck and can't see what I am doing wrong. In the stylesheet.css i've adjusted every html element, left some out, checked everything over and over again. Can you please tell me which elements are the intended html elements? Maybe I am missing one...or got one too many!


0 votes

permalink

It should look like this:

* {
    border: 1px dashed #3A5FCD;
}

The * selector selects every single html element.

1755 points
35dcb0de5d4fdc2b2fa1f68ddfc955ad?s=140&d=retro
Submitted by
Michael
about 5 years ago

1 Comment

1baec126fea66cd3639aa94944f777ec?s=140&d=retro mizzmurple about 5 years ago

Thank you for your reply! That did the trick.


0 votes

permalink

I got it to work!
*{
border: 1px dashed #3A5FCD;
}
I put this code in line 1 on the stylesheet.css page and it finally worked.

199 points
521ff994abf821ed950005e7_598889288
Submitted by
Scott Warren
about 5 years ago

1 Comment

F04dcca100c05c2aa205c7cbb4582ed4?s=140&d=retro Yosri almost 5 years ago

how exactly it did NOT work with me,


0 votes

permalink

  • { border:1px dashed #3a5fcd; color:#3A5FCD; }

just write it like that on the css file, with the (*) it will work :)

208 points
F04dcca100c05c2aa205c7cbb4582ed4?s=140&d=retro
Submitted by
Yosri
almost 5 years ago

1 Comment

326c856ad7b895e18573a9d702fca2f4?s=140&d=retro delaney about 4 years ago

how do you do it exactly?