Design comparison
Solution retrospective
"I am proud of successfully creating the background for the desktop view."
What challenges did you encounter, and how did you overcome them?"The desktop view background was challenging at first until I thought of using the before pseudo-element, and it worked.
Styling the range input was difficult, and I couldn't do it.
Keeping the white box containing the text '185 GB LEFT' centered was challenging, and I couldn't make it stay centered regardless of the device.
In the desktop view, I couldn't align to the center and apply the baseline, and I couldn't achieve it."
What specific areas of your project would you like help with?"What specific areas of your project would you like help with?
Styling the range input was difficult, and I couldn't do it. How can I do it?
Keeping the white box containing the text '185 GB LEFT' centered was challenging, and I couldn't make it stay centered regardless of the device. How should I do it?
In the desktop view, I couldn't align to the center and apply the baseline. How can I do it?"
Community feedback
- @kodan96Posted 6 months ago
hi there! ๐
Since this is more like a UX design choice and it gives off information about the remaining space of your storage, I don't think it's necessary to build it using a range input.
You can just use 3 empty divs to make it (one for the longest one with the blue background, one for the gradient background and one for the circle). just give nest them inside each other and you can position them. You can check my sooution, it might be more help than me trying to explain it.
For the baseline one you probably left margin on the long element. (I can't check it, I'm on mobile now)
Hope this was helpful ๐
Good luck and happy coding! ๐ช
Marked as helpful0
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