Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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

Anita Deszczynska
Anita Deszczynska
1,099 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.

tako izu
tako izu
16,317 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
1,099 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
1,099 Points

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

1 Answer

Steven Parker
Steven Parker
229,771 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
229,771 Points

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