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

CSS: An Overview Forum

View Course » View Exercise

225 points
Dbbdce2d1ce588be2ca579b03c4a3872?s=140&d=retro
Submitted by
filipasarmentofernandes
almost 4 years ago

Borders #FF0000

I try to put the border color to #FF0000 like they ask but i always get an error, and i've did the ctrl+0 everytime. Can somebody help me please?


0 votes

permalink

code?

2949 points
593d545c83696644420003b7_64554016
Submitted by
stetim94
almost 4 years ago


0 votes

permalink

  • { border: 1px dashed black; }

div {
height: 50px;
width: 100px;
border: 4px wide solid;
border-radius: 5px;
background-color: #308014;
margin-top:20px;
margin-right:50px;
margin-bottom:10px;
margin-left:5px;
}

Change your div's border to 4 pixels wide and solid, with the hex color #FF0000. Where do i put the color?

225 points
Dbbdce2d1ce588be2ca579b03c4a3872?s=140&d=retro
Submitted by
filipasarmentofernandes
almost 4 years ago


0 votes

permalink

border: 4px solid #FF0000;
just like you did with the universal selector

2949 points
593d545c83696644420003b7_64554016
Submitted by
stetim94
almost 4 years ago