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

HTML How to Make a Website Adding Pages to a Website Add a New Page

Resize a pic for my About page

Hey guys, can someone please tell me the steps to re-sizing a pic to be used in my "About" section of the site?..Its currently 1385*2115...I need it to be significantly smaller...Thank you

3 Answers

I think you can just give it a class and then apply a width and a height <img src="img/sidony.jpg" alt="my profile" class="profile-picture">

.profile-picture { width: 300px; height: 300px; }

awesome sauce...worked like a charm...thank you very much!! Dont know if you can help with just 1 more little snag...I am now creating the contact page, and when I refresh my browser, instead of saying "..../contact.html" its saying "..../index.html" Any ideas as to why this may be?....Followed the tutorial several times and its not doing anything else...

I think your nav menu should look like this..; <ul> <li><a href="index.html" class="selected">Home</a></li> <li><a href="about.html">About</a></li> <li><a href="portfolio.html">Portfolio</a></li> <li><a href="contact.html">Contact</a></li> </ul>

If the contact page is coming up as index.html it should be because of the href here