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

CSS CSS Basics (2014) Basic Layout Width and Height Properties

Arrow will not downsize. It just stays super big.

https://w.trhou.se/ueee52liz2 This is my workspace. I do not understand why it will not downsize to 50px.

3 Answers

Jayde Greenmount
Jayde Greenmount
5,813 Points

hey Philip!

In your HTML change

<img class"arrow" src="img/arrow.svg" alt="Down arrow">

to

<img class="arrow" src="img/arrow.svg" alt="Down arrow">

just missing the =

have a great day! :)

Wow, I can't believe I missed that. Thank you so much!

Here is my css that you need to see

.arrow {
  width: 50px;
}

and here is my html

     <img class"arrow" src="img/arrow.svg" alt="Down arrow">

I havn't changed anything else

Callum Cheshire
Callum Cheshire
2,138 Points

Good Afternoon

It looks like you missed the "=" after the class selector it should be written like this class="arrow" within the img element.

Let me know if that helped