/Beep-Boop

Primary LanguageJavaScript

Beep Booop

An application that returns a translated range of numbers from 0 to the user's input number, October 26, 2018

By Maly Phongsavanh

Description

This application will translate a numerical value from the user's input. It will then return it in a range from 0 to the numerical value and replace any number that includes 0 and 1 with either "Beep!" or "Boop." Any number that is divisible by 3 will also be replaced with the user's name.

Specifications

  • Any number containing 0, the whole value will be replaced with "Beep"

    • Input: 10
    • Output: Beep, 1, 2, 3, 4, 5, 6, 7, 8, 9, Beep
  • Any number containing 1, the whole value will be replaced with "Boop"

    • Input: 12
    • Output: Beep, Boop, 2, 3, 4, 5, 6, 7, 8, 9, Beep, Boop, Boop
  • Any number divisible by 3 excluding 0, the whole value will be replace with "I'm sorry -username-, I cannot do that."

    • Input: 7
    • Output: Beep, Boop, I'm sorry -username-, I cannot do that., 4, 5, I'm sorry -username-, I cannot do that., 7

Setup/Installation

Support and contact details

If there are any questions or would like to contribute to the code, please feel free to email Maly Phongsavanh

Technologies Used

  • ATOM -text editor-
  • BOOTSTRAP
  • JQUERY

License

*Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.*

Copyright (c) 2018 Maly Phongsavanh