@CharlieCastleWeb
Posted
Hi Nenad! Good work!
Just a few tips:
-
Instead of using
<div id="main-div">
you can use just the<main>
tag. -
Instead of using the h2 tag, I think you should use an h1 tag.
-
According to the design, the card should be centered horizontally and vertically. To do that I use flexbox. The following code should center everything inside the body:
`html, body { height: 100%; }
body { display: flex; align-items: center; justify-content: center; }`
Let me know if you have any doubts or I can help you with other questions!
Marked as helpful