HTML Introduction to HTML and CSS Adding a New Web Page Write the CSS

My code to make my image round, looks exactly the same as Treasure's in the video, and yet the image remains square.

Here is my CSS code: body { font-family:"Arial" }

.main-image { border: solid 4px black; border-radius: 50%; } HTML: <img src= "http://placeimg.com/200/200/any" alt="Carla Washburn, Web Developer" class="main-img">

1 Answer

KRIS NIKOLAISEN
PRO
KRIS NIKOLAISEN
Pro Student 40,436 Points

Your class in HTML is main-img but in CSS it is main-image. Change one or the other so they are the same.

Thank you again Kris! It worked.