Design comparison
Solution retrospective
- The geometric shaped improve the design or I should remove them ?
- I used CSS variables . Is it good habit to use them ? Thanks for any feedback.
Community feedback
- @benjoquilarioPosted over 3 years ago
Hi! Pranay Raj Great work on this one!
For your question:
-
Everything is okay as long as you want, If you want to add
background color
,background-image
everything is fine, but It better to make practice the given design, like other challenges they're want the exactbackground-color
andbackground-image
-
It's a good practice to use a
CSS variables
because It's easy to reach locations, making code more readable and easier to maintain, when you want to change the color you don't need to change the color of every element one by one, you just change the color of :root and all color access to that element will change.
keep coding!
1 -
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