CSS Grid Help with header


I am new to coding and working on a grid for a website. I have the header up but can’t figure out why it will not take the width of the page. I feel like I am missing something. Thank you for your help. :slight_smile:


Because you applied max-width: 900px to the .container and width: 900px to header

If you set container’s and header’s width to 100%, then they will cover all the area up to the borders of the page. But you set them to 900px, as @Ujjwal1604 says.