Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

Time-tracking Dashboard using SASS

sass/scss
P
Alexandru736•210
@Alexandru736
A solution to the Time tracking dashboard challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

How I managed my first webpage using JS. I am also proud how I managed to insert the json data dynamically into the code. Next time, I might change how I populate the html string. I've look it up that modifying the innerHTML property is security-breach prone, so it might be not safe to use it the same I did this time. I am also proud that through the process of designing the app, I found out about ARIA standards. I would recommend everybody who learns about web accessibility to look it up.

What challenges did you encounter, and how did you overcome them?

It was pretty hard for me to understand the interaction between the CSS and HTML, how to add events to the tabs, so that both their state and the panels' states change, and how to do that while fetching the data from json. I overcame this challenge by separate the event handlers to the fetching process. Then, I manipulated the json data and split it into the 3 different timeframes, so that accessing the value would be made more easier in the HTML file. In the end, instead of thinking how to update the HTML string, I generated the 3 different panels in the javascript file.

What specific areas of your project would you like help with?

I would love if I would be pointed better solutions for the json data manipulation, so that, if there would be added another timeframe as a tab, the whole process of adding is done easier.

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 Alexandru736'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