plivova• 10
@plivova
Submitted
This was fairly straightforward, but I did struggle a bit with aligning everything to the centre of the page. Would appreciate feedback on that or suggestions on how to improve the code.
Looking to hire developers?
@buberrie
@plivova
Submitted
This was fairly straightforward, but I did struggle a bit with aligning everything to the centre of the page. Would appreciate feedback on that or suggestions on how to improve the code.
@buberrie
Posted
You did well in getting the pixel size very close to that of the initial design. A pretty easy way to center a div is by using "display: flex; align-items: center; and justify-content: center;" align-items centers it vertically while justify-content centers it horizontally. display flex is used because both are properties of flex-box. I'm not sure why you used a display grid in the body.
Marked as helpful