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 trialAnita Deszczynska
1,099 PointsMy image specifications does not change
I have used all the same code as showed in video, but my image specifications does not change still.
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
1,099 Pointsbody{ font-family: "Arial"; } .main-image { border: solid 4px black; border-radius: 50%; }
1 Answer
Steven Parker
231,269 PointsThe HTML code gives the image two classes, "main" and "image".
But the CSS is targeting a class named "main-image".
Anita Deszczynska
1,099 PointsThanks, it works now.
Steven Parker
231,269 PointsAnita Deszczynska — Glad to help. You can mark a question solved by choosing a "best answer".
And happy coding!
tako izu
17,645 Pointstako izu
17,645 PointsCan you show me your code? You might've made a typo or two, so it's best to show your code.