alicehsiao / ping-pong

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ping Pong

A program that takes a number from a user and returns a range of number from 1 to the chosen number with certain exceptions. 3/9/18

By Alice Hsiao

Description

A website created with HTML and Javascript where a user can submit a number and a range of numbers will be outputted.

Specs

Spec Input Output
It can count up to the provided number Input: 2 Output: [1,2]
It replaces all multiples of 3 with "ping" Input: 7 Output: [1,2,ping,4,5,ping,7]
It replaces all multiples of 5 with "pong" Input: 6 Output: [1,2,ping,4,pong,ping]
It replaces all multiples of 15 with "pingpong" Input: 15 Output: [1,2,ping,4,pong,ping,7,8,ping, pong, 11,ping,13,14,pingpong]

Setup/Installation Requirements

None.

Known Bugs

  • No known bugs at this time.

Technologies Used

  • Javascript

  • jQuery

  • HTML

Support and contact details

Email no one with any questions, comments, or concerns.

License

{This software is licensed under the MIT license}

Copyright (c) 2018 {Alice Hsiao}

About


Languages

Language:HTML 61.8%Language:JavaScript 30.1%Language:CSS 8.1%