- GitHub
- VS Code
- HTML
- CSS
- GitBash
- jQuery
- JavaScript
_In brief, this project shows the utilization of basic implementation of object oriented JavaScript _
-
First Test
Test:"It should calculate the cost per topping"
Describe: Pizza.prototype.cost = function(){}
Code:
Pizza.prototype.cost = function(){ let toppings = [3,3,3]; let toppingSum = (rackUp, currentTopping) => rackUp + currentTopping; let toppingTotal = toppings.reduce(toppingSum); }
Expected Output: 9
-
Second Test
Test:"It should return the total including the cost per size and toppings."
Describe:Pizza.prototype.cost = function(){}
Code: Select "Large" and "Green Zebra Tomatatoes"
Expected Output: 30
- Internet browser
- A code editor such as VS Code.
- An account with GitHub
- Download this repository by selecting the green button denoting code and select download
- Open the folder
- Open the index.html folder to open it in your browser.
- Nothing yet
MIT © 2021 Sammai Gutierrez