Skip to content

Coolmandev/CALCULATOR---APP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculator Webapp

This is a simple calculator created in pure HTML/CSS/Javascript.

Features

  1. Supports keyboard inputs ("c"=clear, "backspace"=back, etc)
  2. Animates when a user hovers or presses a button
  3. Handles exceptions gracefully
  4. Supports large numbers
  5. Dark mode

Steps

  1. Create a t2.micro instance
  2. Run the following command: sudo apt update && sudo apt install docker.io
  3. Run the command: sudo nano dockerfile and write
    FROM nginx
    RUN apt update
    RUN apt install git -y
    RUN rm -rf /usr/share/nginx/html
    RUN git clone https://github.com/sauravinside/calculator-webapp.git /usr/share/nginx/html
  4. After this run: sudo docker build . -t calculator : sudo docker run -itd -p 80:80 calculator
  5. Now check the publiicIPV4:80

image

image

image

Content inside docker file: image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published