
Design comparison
Community feedback
- @Benson0721Posted 3 months ago
Changing the footer's appearance by using innerHTML is a smart move! I noticed that your card can't stay in the center of the screen, even though you've used flex and align-items. To solve that problem, you can try setting your body's style like this: body { width: 100%; height: 100vh; } Every time before I start practicing, I always set those two properties first to avoid mistakes. Lastly, you might want to look into BEM CSS; it's a really useful concept that you can apply in future projects! Happy coding!
Marked as helpful1
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord