Basically, I know I can text-align center everything…but I wanted to try a grid. Should I use grid or flexbox for this? Am I making this way too complicated for myself?
I’m trying to use Grid at the moment and have centered everything. Now I can’t figure out why my page isn’t responsive. I downsize the page and nothing falls inline. What’s the best way to go about this?
You have error in your css - you’re targeting #img (# means id), but you have id="image".
Regarding grid vs flexbox, if you have one dimension (column or row) use flexbox if you have both columns and rows simultaneously use grid. In your case I would use flexbox.
so use flexbox on the entire page by putting display: flex , in my body? I still have issues centering everything to look like the example given for this exercise.