Are you wanting to know how to build different types of triangles like equalateral, isoceles or scalene? This webpage will help you find out JUST THAT! All you need to do is type in any number of your choosing for each side and we will distribute an answer with what type of triangle those numbers would form. ENJOY!
- Behavior: If input is not a number
- Input: "hello
- Output: Alert - NO!!!!!
- Behavior: Type in a single number for any side.
- Input: "side1" = 2
- Output: 2
- Behavior: Type in a single number for multiple sides.
- Input: "side1" = 2; "side2" = 2; "side3" = 2
- Output: 2, 2, 2
- Behavior: Returns if sides make up a triangle or not.
- Input: "side1" = 2; "side2" = 2; "side3" = 88;
- Output: "not a triangle"
- Behavior: Returns equalaterl, type in the same number for all three sides.
- Input: "side1" = 2; "side2" = 2; "side3" = 2
- Output: "Equalateral..."
- Behavior: Returns isosceles, if two sides are equal.
- Input: "side1" = 2; "side2" = 2; "side3" = 3
- Output: "Isosceles..."
- Behavior: Returns scalene, if two sides are equal.
- Input: "side1" = 2; "side2" = 1; "side3" = 3
- Output: "scalene..."
- Open Git and GitHub
- Find language-survey repo under MMAlaeddin UserID
- Clone the file in Git
- Open file
No known bugs
Mariam , maralaeddin@gmail.com
HTML, CSS, JavaScript and JQuery
MIT License
Copyright (c) 2020 Mariam