Git Product home page Git Product logo

tri-pi-ip2's Introduction

Tri-PI

Triangle Type Detector Website, Monday, 3rd December 2018

By Loise Mwangi

Description

tri-pi (Triangle Private Investigator) is a fun website with a user-friendly, interface that determines the type of triangle based on side lengths. It deviates from a typical calculator by engaging the user through a simulated game-like environment that makes it both fun and informative.

Screenshots

Image

Image

Behavior Driven Development BDD

Who is the target User?

  • Mainly School kids exploring shapes and geometry and curious adults.

Front-end/User Interface Logic Objectives

  • Get user input (length a, length b, length c (with predictive placeholder input text box).
  • Display answer(with an image and name of the triangle.)

Back-end/Business logic Objectives

  • get input from user (length a, length b, length c - pre-defined).
  • evaluate properties of the 4 scenarios
  • create functions and arrays
  • give answer/output.

Behaviour

Behaviour Input Example Output Example
The program should handle: When it receives: It should return
---- :---: ---:
The triangle is Equilateral. 3, 3, 3 True
The triangle is Isosceles. 3, 3, 4 True
The triangle is Scalene. 3, 4, 5 True
No input at all (empty fields). "" False
Input values that cant form a triangle 1, 2, 5 False
Letters or symbols as inputs. ad. ? / False

Built in/with

Webpage created using HTML, CSS and JavaScript. Tools used include: Atom, Command Line, Illustrator and Photoshop.

Support and contact details

To contribute or get support contact me at [email protected].

License

Copyright (c) {2018} Loise Mwangi

tri-pi-ip2's People

Contributors

tc-mwangi avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.