Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted almost 3 years ago

Fylo Data Storage Component

astro
Ruben•550
@RubenSmn
A solution to the Fylo data storage component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


This is my 7th challenge and I'm noticing that my interpretation of the sizing is getting better. It takes less time to try and get the correct sizes e.g. border-radius.

The progress bar was a lot of fun. Especially the dot inside. Since I did not exactly know the height of the dot I came up with a solution which uses the aspect-ratio of 1 / 1 to keep the height and width the same.

.dot {
  background-color: var(--pale-blue);
  height: 100%;
  aspect-ratio: 1/1;
  border-radius: 100%;
}
Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Ruben's solution.

Join 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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License