Design comparison
SolutionDesign
Solution retrospective
Hi again ! I took on an intermediate level challenge to see if I was capable of it. It wasn't easy, but I'm quite pleased with the result ! I used eval() to perform the calculations because I couldn't manage to create a functional code using an if/else statement. I'm not sure to what extent this is discouraged for the intended goal here. Any suggestions appreciated :)
Community feedback
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