Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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,296 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