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

Calculator App with Vue, Sass and Css grid

vue, sass/scss
Amaefula Joel•440
@Amaefula-Joel
A solution to the Calculator app 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?

I really learnt to use vue more in this project. The manipulations of the DOM elements would have been much more harder if not for using Vue. And i had a hard time coming up with the logic fo the theme and how to render them to users if they already had a certain theme present in their browser. i am really proud of how ive integrated the prefers-colors-scheme in my code. The login for the calculations was looking very much confusing at first, but i found a way. i also did my best to handle the different errors that may come from user inputs

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

i had different ideas on how to change the themes but it didnt seem to click and work well with the prefers-colors -scheme. but using the data-theme on the html tag made it easy to control the css and make it easy to use localStorage to make a users choice of theme be remembered

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

i would like your response on what i coulf do different as well as point out errors i didn;t notice in the challenge. Thanks

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 Amaefula Joel'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
Frontend Mentor logo

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

Frontend Mentor

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

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