Skip to content

A simple calculator that takes any amount of numbers and performs basic operations with them. Styled based on Frontend Mentor's design.

Notifications You must be signed in to change notification settings

yasledesma/fem__calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Note: Delete this note and update the table of contents based on what sections you keep.

Overview

The challenge

Users should be able to:

  • See the size of the elements adjust based on their device's screen size
  • Perform mathmatical operations like addition, subtraction, multiplication, and division
  • Adjust the color theme based on their preference
  • Bonus: Have their initial theme preference checked using prefers-color-scheme and have any additional changes saved in the browser

Screenshot

Desktop screenshot

Links

My process

You can read all about it in my latest blog post!

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • Sass - CSS preprocessor
  • React - JS library

What I learned

I learned to create a calculator algorithm from scratch in vainilla JavaScript and then implement it in React by utilizing hooks. I also learned how to position elements in CSS with the grid-row and grid-column properties.

Continued development

After this, I will be either finishing the Todo app challenge from Frontend Mentor, or doing their Country REST API one.

Author

About

A simple calculator that takes any amount of numbers and performs basic operations with them. Styled based on Frontend Mentor's design.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published