A companion to https://ue22-p23-web.readthedocs.io/
The assignment is to write a calculator in JavaScript.
The starter code contains
- HTML and CSS - the graphical design has been done for you, so you probably won't need to change them
- an empty
script.jsfile where you will write your code
You can load this code in your browser to see the look, but it won't do anything until you write the JavaScript.
- clone the repo locally on your computer
- push it back on github into a personal repo forked from this one
- either make it public or invite your teacher as a collaborator
- open
index.htmlin a browser to check you have a nice non-funcionnal calculator - open
script.jsin vs-code - add your initials or your name in a comment at the top of the js
- modify
script.jsin order to implement a functional calculator ← that's the exercise - baby steps please, don't hesitate to commit every time a small feature is working
- push your repo whenever you think it's worth being reviewed by your teacher; you may even push your repo at every commit
originally this code was taken from https://www.freecodecamp.org/news/how-to-build-an-html-calculator-app-from-scratch-using-javascript-4454b8714b98/