bkiggen / beepboop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Beep Boop

A webpage that receives numbers and returns numbers, beeps, and boops, 08/17/2018

By Ben Kiggen

Description

This program is designed to receive a number input from the user and return a range of numbers from 0 to the chosen number. Within that range, any numbers containing a 0 are replaced with "beep!", containing a 1 are replaced with "boop!", and divisible by 3 are replaced with "I'm sorry, Dave. I'm afraid I can't do that."

Setup/Installation Requirements

Specifications

  • The program alerts user if any non-numerical value is entered.

    • Example Input: HAL
    • Example Output: "Please enter a number!"
  • The program returns a string of numbers (leading up to specified number) to the user.

    • Example Input: 6
    • Example Output: 1, 2, 3, 4, 5, 6
  • The program replaces 0 with "Beep!"

    • Example Input: 0
    • Example Output: "Beep!"
  • The program replaces 1 with "Boop!"

    • Example Input: 1
    • Example Output: "Beep!" "Boop!"
  • The program replaces numbers divisible by 3 with "I'm sorry, Dave. I'm afraid I can't do that."

    • Example Input: 3
    • Example Output: "Beep!" "Boop!" "I'm sorry, Dave. I'm afraid I can't do that."

Support and contact details

For inquiries, issues, or contributions, please contact Ben Kiggen at benkiggen@gmail.com

Technologies Used

This software was created using HTML, CSS, javascript, and jQuery

License

MIT license

Copyright (c) 2018 Ben Kiggen, Epicodus

About


Languages

Language:CSS 46.4%Language:JavaScript 27.6%Language:HTML 26.0%