Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML Introduction to HTML and CSS 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
13,529 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
216,165 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
216,165 Points

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