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

Calculator using CSS Grid

Braian•30
@BraianGazano
A solution to the Calculator app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)
Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

  • P
    Karthik suryadevara•865
    @karthik2265
    Posted over 3 years ago

    i find it interesting that you made the caluclator a classs in JavaScript and I liked how you commented the css code it's very readable

    One issue I found is, when opened in mobile there is no padding i.e the caluclator is stretched to the very end of the body, this. An be easily solved by using padding on the body element, another thing is you can improve your naming for css classes, including names of html elements in class names is generally a bad idea 💡, one better approach for nameing classes is BEM stands for block element modifier, Google it you will definitely like the technique

    Overall, nicely done ✅

    Marked as helpful

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