This a game where if the user enters a number it displays a list of numbers from 1 to the specified number with exceptions listed in the specifications below. Play the game
Specifications | Input | Output |
---|---|---|
It can count up to the provided number | 2 | [1, 2] |
Numbers divisible by 3 are replaced with "ping" | 3 | [1, 2, ping] |
Numbers divisible by 5 are replaced with "pong" | 5 | [1, 2, ping, 4, pong] |
Numbers divisible by 15 are replaced with "ping-pong" | 15 | [..13, 14, ping-pong] |
- HTML
- CSS
- JavaScript
This project is licensed under the MIT License - see the LICENSE.md file for details