3. One selector to rule them all


#1



LINK HERE

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


I tryed on: Firefox, Chrome, Opera and Edge and nothing :S

**HTML**

    > <!DOCTYPE html>
    > <html>
    >     <head>
    >         <link type="text/css" rel="stylesheet" href="stylesheet.css"/>
    >         <title>Result</title>
    >     </head>
    >     <body>
    >         <h3>Boxes within boxes!</h3>
    >         <div>
    >             <p>Paragraph One</p>
    >         </div>
    >         <div>
    >             <p>Paragraph Two</p>
    >         </div>
    >         <div>
    >             <p>Paragraph Three</p>
    >         </div>
    >     </body>
    > </html>

**CSS**

    > body {
    >     border: 1px dashed #3A5FCD;
    > }


#2

if the instructions say everything, you will need the universal selector (*) as css selector.

Also, the border property should have 3 values, separated by spaces, no semi-colons between the values


#3

The first of

in

should be a comma.


#4

I did both and it's the same, same error :S


#5

My bad! You should do this pls...

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

#6

What about my answer? That didn't help either?


#7

This one worked :smiley: Thanks ^.^

Then, * its to edit all the body?


#8

* will target <html>, <body> and all elements inside body


#9

Oh, so much thanks :slight_smile: I'll keep learning :slight_smile: