Hey guys!
I’ve been working on this project for Free Code Camp and I’m trying to make it mobile friendly first. I have a browser window resized to mimic a smartphone and I’m styling the webpage based on that. This worked well for my first project, but for some reason on this project, the elements are extending beyond the screen size and I’m not sure why.
Here’s what I mean:
The h2 section and the image are bigger than the selected screen size and I can’t figure out why. For some reason, the browser lets me scroll horizontally on the iPhone setting. I’m not sure why it does this. Do I have the window set up incorrectly?
This is the code. I feel like I’m missing something very obvious but I’m not sure what!
Responsive Web Design is proving to be a challenge for me, so if you happen to have any useful learning resources to share, I would appreciate it!
Thanks for the help!