Skip to content

yoshimario/roboger-neighborhood

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mr. Roboger's Neighborhood Website

Independent Arrays & Looping Project for Epcicodus, 08.23.2020

By Sean Wilson

Semoulina Finland A photo created by Sean Wilson

Description

This project will ask the user for a custome number. Then when user submits form a response based on a particular number will give users a different response depending on what number contains.

Setup/Installation Requirements

  • Clone Repository
  • Open repository directory
  • Open index.html
  • View website in browser

Or alternatively view it at https://yoshimario.github.io/roboger-neighborhood/.

Specifications

  • Spec 1: The program returns a range of numbers from 0 to the users inputted number

    • Input: "5"
    • Output: "0, 1, 2, 3, 4, 5"
  • Spec 2: Any numbers that contain a 1: all digits are replaced (all digits) with "Beep!"

    • Input: "5"
    • Output: "0, Beep, 2, 3, 4, 5"
  • Spec 3: Any numbers that contain a 2: all digits are replaced (all digits) with "Boop!"

    • Input: "5"
    • Output: "0, 1, Boop, 3, 4, 5"
  • Spec 4: Any numbers that contain a 3: all digits are replaced (all digits) with "Won't you be my neighbor?"

    • Input: "5"
    • Output: "0, 1, 2, Won't you be my neighbor?, 4,5"
  • Spec 5: The number 13 should be replaced with "Won't you be my neighbor?"

    • Input: "13"
    • Output: "0, Beep!, Boop, Won't you be my neighbor?, 4, 5, 6, 7, 8, 9, Beep!, Beep!, Boop, Won't you be my neighbor?"
  • Spec 6: The number 21 should be replaced with "Boop".

    • Input: "21"
    • Output: "0, Beep!, Boop, Won't you be my neighbor?, 4, 5, 6, 7, 8, 9, Beep!, Beep!, Boop, Won't you be my neighbor?, Beep!, Beep!, Beep!, Beep!, Beep!, Beep!, Boop, Boop."
  • Spec 7: The number 32 should be replaced with "Won't you be my neighbor?"

    • Input: "32"
    • Output: "0, Beep!, Boop, Won't you be my neighbor?, 4, 5, 6, 7, 8, 9, Beep!, Beep!, Boop, Won't you be my neighbor?, Beep!, Beep!, Beep!, Beep!, Beep!, Beep!, Boop, Boop, Boop, Won't you be my neighbor?, Boop, Boop, Boop, Boop, Boop, Boop, Won't you be my neighbor?, Won't you be my neighbor?, Won't you be my neighbor?. Thank you for playing!"

Known Bugs

No known bugs at this time!

Technologies Used

  • HTML
  • CSS
  • jQuery
  • JavaScript
  • Bootstrap

License

This software is licensed under the MIT license.

Copyright (c) 2020 Sean Wilson

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published