MugachaGichamba / triangle_tracker

A landing page to determine types of triangles based on three values entered each representing each side of a triangle.

Home Page:https://mugachagichamba.github.io/triangle_tracker/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Triangle Tracker

A website to determine types of triangles

By Mugacha Gichamba

Description

This website is supposed to determine triangle types based on three values entered, each representing one of the three sides of a triangle.

The user/client will enter three values each representing a side of a triangle.

The website, based on the values inputed will determine whether the triangle is: Equilateral, Isosceles, Scalene or Not a triangle at all.

Setup/Installation requirements

1. Have an active internet connection

2. Have a device that can be used to access the internet like laptop, PC or mobile phone.

3. The device must have a modern browser e,g chrome, edge, mozilla.

BDD

1. The program recognizes a non valid triangle:

Input Example: 9, 4, 3

Output Example: "Not a Triangle"

2. The program recognizes an equilateral triangle:

Input Example: 6, 6, 6

Output Example: "It is an equilateral triangle"

3. The program recognizes an isosceles triangle:

Input Example: 8, 8, 4

Output Example: "It is an isosceles triangle

4. The program recognizes a Scalene triangle:

Input Example: 7, 8, 9

Output Example: "It is a scalene triangle"

License and Copyright Information

MIT License

Copyright (c) 2019 Mugacha Gichamba.

About

A landing page to determine types of triangles based on three values entered each representing each side of a triangle.

https://mugachagichamba.github.io/triangle_tracker/


Languages

Language:JavaScript 38.3%Language:HTML 34.4%Language:CSS 27.3%