I´m designing something that requires text vertically aligned with an image and both elements centered.
When I design it in VS Code, the text sits below the image on the left side of the screen. However, when I copy and paste this code to CodePen, everything is centered and the text and image are vertically aligned.
I don´t know why there´s such a difference. I´m posting my code as it is in CodePen below. If anyone can help me understand why the design would look so different in these different formats, I´d appreciate it.