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 Flexbox Layout Building a Layout with Flexbox Building a Navigation Bar with Flexbox

Learning coding
Learning coding
Front End Web Development Techdegree Student 9,937 Points

How to upload the logo in the flexbox navbar?

It was mentioned in the video, but not how to do it.

Here is my code https://w.trhou.se/m4vkyk52wu

Sam Deighton II
Sam Deighton II
24,466 Points

This shoud be what your are trying to acheive. <div class="item-1 item"><a href"example.com"><img src="Logo.jpg"></div>a></div>

to put an image into a web page, we use the <img> tag. the src attribute is where your picture is located. since this will be navagation we will need to use the link/anchor tag <a>. By putting the anchor tag around the image you make the image the clickable object.

1 Answer