Design comparison
Solution retrospective
Between mobile, tablet, and desktop viewports, there was a lot of repositioning and resizing, so figuring all of that out to make this as responsive as possible felt good.
What challenges did you encounter, and how did you overcome them?The fetch was something I haven't done very much of so working through that and adding the information to the page from the json based on what was clicked was a bit challenging but I just messed around with it and scoured stackoverflow until I was able to put together a working solution.
Community feedback
- @Shakil-aPosted 4 months ago
Good job on the solution Joshua!,
The only thing I would say is rather than creating the cards each time you click the timeframes and then displaying it, you could possibly have the cards premade in the html and then grab the title, previous time and current time and then just change those based on which timeframe the user picked.
Marked as helpful0@joshhovisPosted 4 months agoThank you Shakil. That is a good suggestion. Would probably be less code and be better for optimization. I was just experimenting with this project but will definitely keep that noted for future things.
@Shakil-a
0
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