What is wrong with my code?


#1


#2

src is an attribute you use to tell <img> where the image is located, you don't need it in css. Just in case, ensure your browser zoom is set to 100% (ctrl + 0 or cmd + 0 for mac)


#3

seems like still has a problem somehow


#4

well, there are two proper ways to define a border:

border: width style color;

or with the individual property:

border-width: width;
border-style: style;
border-color: color;

now, color, width and style values i used in these examples are just placeholder, to teach you, how to define a border, you seemed to have made some kind of mixture


#5

Got it.Thank you so much. :slightly_smiling:


#6

2 posts were split to a new topic: 25. size and borders


#7