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
Anders Eisenhardt
5,942 PointsAdd and style image
Hello Treehouse, I have an image i want to add and style on my website, can somebody help me how I can mark this specific code and edit the css?
I have a problem uploading an illustration picture....
2 Answers
leonvsthings
12,236 PointsYou can give it a class and target it with CSS.
On HTML it would look like:
<img src="img/img.png" class="classnamehere">
On CSS:
.classnamehere {
}
Anders Eisenhardt
5,942 PointsThanks 4 the quick response