Please ignore the design and overall look as this is just nothing more than practice (and I’m not done with it yet). By the way, I’m not sure why it comes out weird in codepen as in the title New World moved down or up, when I do ti in the browser, everything’s fine…
As you can see, for the image, title, and 2 buttons inside the class hero-container, I’ve set some specific px to make them look aligned and in the center and I’ve wasted so much time just trying to get this right.
-
I just would like to know would there be a better way of doing things? Tried like margin: 0 auto but didn’t seem to work.
-
Is the overall code structure all right?