https://codepen.io/luthfaan/pen/oNjdyNJ

https://codepen.io/luthfaan/pen/oNjdyNJ

Please help me to figure out why my navbar is not expanding to the end. It seems that my ‘justify-content’ property is not working. I don’t know what’s wrong. I am breaking my head. I am new to coding.

Hello! The navbar is living in the element. It is setting the width of the container to the size of the content. One of the ways to handle this is to set the width of the header container. Try to add a width to the header CSS and see what that does for you.

1 Like

Hi, i recommend you to set a property of width 100%.

the “width: 100%;” will make that the navbar will cover the entire navigator’s width.

1 Like

Thank you. That was helpful!