I've been working through the exercises in the Jump Start Bootstrap book and following along with the examples provided. In chapter 02, we're focusing on creating a grid system. I've copied the code for the index.html and style.css files as demonstrated in the book.
However, I'm encountering an issue where the columns in the grid aren't aligning both vertically and horizontally as intended - only vertically. Additionally, the column divs don't seem to be responding to the CSS styles that should be formatting them with specific sizes and colors.
Example of Bootstrap grid from the book | Screenshot of how my code outputs the Bootstrap grid |
---|---|
I've double-checked my code multiple times against the book's examples, but I can't seem to find any errors. Here's the link to the code I'm using for the HTML and CSS files: https://example.com/codefiles
If anyone is able to review the code and provide suggestions or point out any mistakes I might have missed, I would greatly appreciate it. I've been struggling with this problem all night and could use some fresh eyes to help me solve it.
The primary issues I suspect are either incorrect class assignments in the column divs or possibly misplacing the
<link href="css/style.css" rel="stylesheet">
line within the code.
Thank you in advance to anyone who can offer advice or suggestions!