Skip to content

A task from frontendmentor.io to build a calculator web app that toggles three themes

Notifications You must be signed in to change notification settings

Fedozie/theme-switch-calculator

Repository files navigation

Frontend Mentor - Calculator app solution

This is a solution to the Calculator app challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Overview

The challenge of this task was to create a funtional calculator on the web whose theme could also be toggled amongst three theme types; dark i.e. the default, light and neon. For this task, I made use of HMTL, SCSS and Javascript.

Screenshot

Image of the calculator on mobile

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • SASS Preprocessor
  • Vanilla Javascript

What I learned

  • How to create a toggle switch which toggles more than to themes.
  • How to use functions in Javascript to simulate the operations of a calculator.

Continued development

Working on this task made me realize, I still have a lot of work to do as regards my knowledge of Javascript.

Author

Acknowledgments

Super grateful to Bolaji, twitter handle => @bolathedev. He helped me with working on how the calculator operates.

About

A task from frontendmentor.io to build a calculator web app that toggles three themes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published