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 Responsive Web Design and Testing Adjust the Profile Page and Header

Hi. How do i change the settings, so that if i push one of the social icons a new page opens with my facebook profile?

Right now, if i push the social-icon the browser changes to facebook. So if i would like to go back to my webpage i have to paste the URL or use the go back function.

2 Answers

add the target attribute to the a element with a value of _blank so basically it will look something like this:

<a href="http://facebook.com/yourpage" target="_blank">Your Icon Here</a>

Thank you Joey. Helped a lot! :)

I figuered it out now, so that i have the icon aswell.

Have a nice day :)

Try inserting target="_blank" as shown below:

<a href="link here" target="_blank">

Thanks Thom!