I’m working on the Technical Documentation Page project, specifically trying to figure out how to set the layout so the navbar remains on the left side of the screen. FCC gives this pen as an example:
FCC also made this video as a guide, which employs CSS grid for the layout (at the 16:05 point in the video).
But the example pen does not seem to use the grid. It seems to me the two examples are using different methods. I realize there are many ways to layout a page, I’m just trying to understand one of them to start with.
How is the example pen (the one not using the grid) being laid out? I’m not concerned right now with the more “detail” stylings such as padding etc.- just trying to figure out what CSS is making the navbar remain on the left, and main section on the right. I made the navbar fixed and tried to make the main section relative to it, but it doesn’t push the main section to the side of the navbar… Thank you