This is a webpage designed to accept number inputs and relay the numbers before it starting at zero with a twist.
This project is was built with the purpose of accepting user inputs in the form of any number and relaying all whole numbers below it. This project also will replace any number containing a 1, 2 or 3 with 3 different predefined text responses with text response priority given from highest to lowest.
- First, clone this repository to your desktop by navigating to the desktop in the Terminal ("cd desktop") and then entering "git clone https://github.com/Pieharder/BeepBoop".
- _Once the directory is cloned to your desktop, open the directory in the Terminal ("cd BeepBoop").
- After that open the directory in Visual Studio Code by entering the command "code ." in the Terminal.
- Open index.html in a browser of your choice to view the project.(Google Chrome is recomended.)
Behavior | Input | Output |
---|---|---|
Takes User Input(as a number) | 5 | N/A |
Lists and displays all numbers from 0 up to user input numbers | 5 | 0, 1, 2, 3, 4, 5 |
Replace any number containing a 1 | 14 | Beep! |
Replace any number containing a 2 | 27 | Boop! |
Replace any number containing a 3 | 39 | I'm sorry Dave. I'm afraid I can't do that. |
Prioritize number replacement from highest to lowest | 321 | I'm sorry Dave. I'm afraid I can't do that. |
-
HTML
-
Bootstrap
-
CSS
-
Git
-
JavaScript
-
jQuery
This software is licensed under the MIT license
Copyright (c) 2020 Geoff Goetz