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

Anita Deszczynska
Anita Deszczynska
904 Points

My image specifications does not change

I have used all the same code as showed in video, but my image specifications does not change still.

Kirblue ~
Kirblue ~
4,575 Points

Can you show me your code? You might've made a typo or two, so it's best to show your code.

Anita Deszczynska
Anita Deszczynska
904 Points

<!DOCTYPE html> <html> <head> <title> Anita D Resume </title> <link rel="stylesheet" href="resume.css"> </head> <body> <img src="https://placeimg.com/200/200/people" alt="Web Developer" class="main image"> <h1>Anita D Web Developer</h1> <h2>Summary of Qualifications </h2> <ul> <li>Experience as a Freelancer Web Developer</li> <li>Experience with HTML, CSS, and JavaScript</li> <li>Bachelor of Science</li> </ul> </body> </html>

Anita Deszczynska
Anita Deszczynska
904 Points

body{ font-family: "Arial"; } .main-image { border: solid 4px black; border-radius: 50%; }

1 Answer

Steven Parker
Steven Parker
195,288 Points

The HTML code gives the image two classes, "main" and "image".

But the CSS is targeting a class named "main-image".

Steven Parker
Steven Parker
195,288 Points

Anita Deszczynska — Glad to help. You can mark a question solved by choosing a "best answer".
And happy coding!