/independent-project3

front end and back end logic separated, arrays, for loops

Primary LanguageJavaScript

Ping Pong

Inputted numbers will return all listed numbers and add "ping" or "pong" to corresponding ids, 3.31.17

By Jesse Hoare Evans

Description

Numbers that get inputted will output the entire list up until that number while also convert numbers divisible by three to "ping" numbers divisible by 5 to "pong" and numbers divisible by 15 to "ping-pong".

Setup/Installation Requirements

Follow this repository https://github.com/jessehoareevans/independent-project3

Known Bugs

Does not work properly

Specifications

This will prompt the user to enter a number if they leave the field blank. Example Input: "" Example Output: "Please fill out this field"

This website will only accept numbers Example Input: 1 Example Output: 1

This website will change numbers divisible by three return the word "ping" Example Input: 3 Example Output: ping

This website will change numbers divisible by three return the word "pong" Example Input: 5 Example Output: pong

This website will change numbers divisible by three return the word "ping-pong" Example Input: 15 Example Output: ping-pong

Technologies Used

HTML CSS JS

License

GPL

Copyright (c) 2017 Jesse Hoare Evans