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 trialgeorgiana popescu
1,041 PointsI cannot minimize the arrow even if my code is correct
: <img class= "arrow" src="img/arrow.svg" alt="Down arrow">
2 Answers
Andrey Mitko
19,127 PointsHi,
Your HTML code should look like this:
<img class="arrow" src="img/arrow.svg" alt="Down arrow">
And CSS rule should be like this:
.arrow {
width: 50px;
}
georgiana popescu
1,041 PointsI did it exactly like that but it still doesn't work. I even tried to change the browser, maybe it was bugged or something but it didn't work.