Skip to content
  • Learning paths
  • Challenges
  • Solutions
  • Articles
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 2 years ago

👨‍đŸ’ģ Calculator app w/ (HTML + CSS + SASS + Bootstrap + JS)

accessibility, bootstrap, sass/scss
Adrianoâ€ĸ42,890
@AdrianoEscarabote
A solution to the Calculator app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


👨‍đŸ’ģ Hello everyone. This is my solution for the Calculator app.

This was a challenging project, I found some very different bugs. I managed to practice a lot of new things and I tried to make my code as clean and readable as possible!

If you find something I can improve let me know!

I added:

  • 👨‍đŸ’ģ the user will be able to perform all operations through the keyboard!
  • 🎨 Store theme preference via localStorage!

Feel free to leave comments on how I can improve my code.

Thanks! 😊

Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

  • MXâ€ĸ290
    @xingxing-prog
    Posted over 2 years ago

    It's a very cool project. You have done great on html and css. But for JavaScript, I want to give you a little bit advice. First of all, I test your calculator, there is a bug, when I type 3/0, the result is 0.00, it should result to error. Second, I checked out your code, you have done a great job. But every time, when I type number and operation and the result present, but the operation is always there. I think there should only be the result there. But I still have to say, I like the html and CSS, You have done a great job, It's fantastic.

    Marked as helpful
  • Lucas 👾â€ĸ104,200
    @correlucas
    Posted over 2 years ago

    Great solution as always! =)

  • Mubaraqâ€ĸ280
    @mubking
    Posted over 2 years ago

    i'm creating a replicate of this.though i'm done oh! sorry, i can't say i'm done. i'm having problems switching the background

  • Basit Koraiâ€ĸ350
    @basitkorai
    Posted over 2 years ago

    I want to build this as well. By the way, you've done excellent work.

  • Nelsonâ€ĸ2,390
    @nelsonleone
    Posted over 2 years ago

    IT'S COOL.

  • joaovitorwittâ€ĸ250
    @joaovitorwitt
    Posted over 2 years ago

    So cool man. Always learning from you.

  • felipe famaâ€ĸ210
    @FelipeFama
    Posted over 2 years ago

    Congratulations on the project.

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

Oops! đŸ˜Ŧ

You need to be logged in before you can do that.

Log in with GitHub

Oops! đŸ˜Ŧ

You need to be logged in before you can do that.

Log in with GitHub

Oops! đŸ˜Ŧ

You need to be logged in before you can do that.

Log in with GitHub

Oops! đŸ˜Ŧ

You need to be logged in before you can do that.

Log in with GitHub

Oops! đŸ˜Ŧ

You need to be logged in before you can do that.

Log in with GitHub

Oops! đŸ˜Ŧ

You need to be logged in before you can do that.

Log in with GitHub

Oops! đŸ˜Ŧ

You need to be logged in before you can do that.

Log in with GitHub

Oops! đŸ˜Ŧ

You need to be logged in before you can do that.

Log in with GitHub

Oops! đŸ˜Ŧ

You need to be logged in before you can do that.

Log in with GitHub