Responsive Time Tracking Dashboard using HTML,CSS and JavaScript
Design comparison
Solution retrospective
I designed the layout easily by using CSS Flexbox and Grid for the trackers. The script was also easy, but I had to write a lot of code but honestly, I think I could have done a bit better. 😔
What challenges did you encounter, and how did you overcome them?I usually use a lot of flexboxes due to its flexibility in different occasions specially when using different media queries but this time I decided not to use it and honestly, I was not satisfied with the results because I had to write a lot of code while using media queries and designing the page to smaller devices.
What specific areas of your project would you like help with?I would really appreciate if someone could review my JavaScript code and give me some suggestions or feedback. Thanks. 😊
Community feedback
- @mathematiCodePosted 5 months ago
Really great job! Your javascript actually helped me figure out my solution to this because I was confused about fetch and using json files and had to discuss it with my tutor. Your code was very easy to read and understand!
One thing that may be helpful to make responsiveness easier using grid is
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
This tells the browser to fit as many boxes as possible but make them at least 180px each and put the rest on the next row and so on. It is so useful for making grid-like designs responsive, if you don't mind sometimes having an odd amount of items on the last row.
Marked as helpful1@ShoaibShujaPosted 5 months agoI will make sure to use it in my next projects thanks a lot @mathematiCode
0 - @MahmoodHashemPosted 5 months ago
You have done an excellent job, Clean code and Clean design, good job.
1@ShoaibShujaPosted 5 months agoThanks brother by the way we are both from Afghanistan and coders from our country are rare to find. If you ever needed help or assistance I would be happy to help. And I might ask you for assistance as well. Peace and Love brother.
1@GwinjoePosted 5 months ago@ShoaibShuja i really wonder if he will see your reply. i suggest that you look him on social media if he is in any
1@MahmoodHashemPosted 5 months ago@ShoaibShuja Oh, glad to hear that bro, how can we connect ? You can Dm me in Telegram, This is my id: @shahmahmood, Or if you suggest other ways let me know. My number: 93729034586
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