Goal: Practice bringing together everything we've learned in this section by creating a project that includes custom functions, branching, forms, jQuery, and well-separated user interface and business logic.
Make a web page that allows the user to input the lengths of the sides of a triangle, and returns whether these sides form an equilateral, isosceles, or scalene triangle or if the sides cannot make a triangle at all. Here are the definitions of each possibility:
Once your application is functioning correctly, try to refactor your code as much as possible. Before moving on to the next challenge, have an instructor review your code.
Lesson 55 of 59
Last updated October 12, 2021