Student work question about CSS in Unit 2 Lesson 11

Here is code my student entered but the border color is not appearing on his page. What are we doing wrong/missing?

img{
  float: left;
  height: 300px;
  width: 300px; 
  border-width: 25px;
  border-color: deeppink;
  border-radius: 10px
}

Hi @dcraig!

Your student just needs to add a border-style property to the CSS and the color will appear. Also worth noting, there is a missing semi-colon for the border-radius property which are so easy for students to miss and could cause the border not to appear. :slight_smile:

Hope that helps!
Wendy

2 Likes

Thank you for your help.

1 Like