@z-mn
Posted
To answer your question, in order to position the .object div in the centre for all screen sizes you should use display: grid on the parent container (in this case the body) and the place-items: center property. Alternatively you could use display: flex with the justify-content: center and align-items: center properties. This is better than guessing values for one screen size which looks like what you've done, and ensures it is at the center regardless of screen size.
You could also import the correct font by going on google fonts and copying the embed code. Otherwise, good job! :)
Marked as helpful