Skip to content

Mr-Dionysus/Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Проект "Калькулятор"

Проект "Калькулятор" создан с начальной информацией от https://www.theodinproject.com/lessons/foundations-calculator. Дается условие проекта, а решение зависит от меня. Я учился использовать JS для манипуляций с сайтом, написанием логики и добавлением поддержки клавиатуры.

Функции:

  • Сложение, вычитание, умножение, деление, нахождение остатка от деления, скобки, степень, изменение знака на противоположный, получение предыдущего ответа, удаление символа, полная очистка экрана, десятичные числа;
  • Есть учет приоритета операций;
  • После получения результата экран стирается по нажатию на любую из цифр;
  • Поддержка клавиатуры;
  • Ограничение символов, чтобы они не выходили за рамки;
  • Адаптивный дизайн.

Можно Добавить:

  • Возможность сразу применять операции к полученному ответу;
  • Темы;
  • Больше функций из инженерного калькулятора.

Project "Calculator"

Project "Calculator" created with starting info from https://www.theodinproject.com/lessons/foundations-calculator They give you starter project's info and then creating the project lies only on me. I study using JS for manipulation on website, write logic and add keyboard support.

Functions:

  • Addition, subtraction, multiplication, division, finding the remainder of the division, parentheses, power, changing the sign to the opposite, getting the previous answer, removing the character, completely clearing the screen, decimal numbers;
  • Operation priority;
  • Clear screen after using Equal and click on any num;
  • Keyboard support;
  • Sign restriction;
  • Adaptive design.

Can Add:

  • Posibility to use operations on answer right away;
  • Themes;
  • More functions from engeneering calculator.

About

Calculator with HTML, CSS & JS. Created from TOP instructions https://www.theodinproject.com/lessons/foundations-calculator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published