Coder Social home page Coder Social logo

code-review-3's Introduction

beepBooper

by Casey Idsinga

Description

beepBooper is a jquery based number mangler. For every number 1 a "beep" should be displayed, for 2 the word "boop", and for 3 the sentance "I'm sorry, Dave. I'm afraid I can't do that." All other numbers should appear as normal.

Installation

Run on your web browser of choice

Specifications

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

    • Input: "4"
    • Output: "0,1,2,3,4"
  • Spec: This program should return all numbers that include the digit 1, and replace them with the word "beep".

    • Input: "2"
    • Output: "0,beep, 2"
  • Spec: This program should return all numbers that include the digit "2" with the word "boop".

    • Input: "3"
    • Output: "0, beep, 2, boop"
  • Spec: This program should return all numbers that include the digit "3" with the sentance "I'm sorry, Dave. I'm afraid I can't do that."

    • Input: "5"
    • Output: "0, beep, boop, "I'm sorry, Dave. I'm afraid I can't do that.", 4, 5"
  • Spec: As the numbers that contain any of those digits are replaced, in the event that the number contains two or more of these special instances, "3" gets priority, then "2", then "1"

    • Input: "21"
    • Output: "...boop..." as "boop" is priority over "beep"

Known Bugs

Page is functioning as intended.

Contributing

Please let me know if you see areas of improvement, and/or feel free to make changes yourself.

Technologies Used

HTML, CSS, JavaScript and jquery were used to create this page

License

GPL

Copyright (c) 2019 Casey Idsinga

code-review-3's People

Contributors

cidsinga avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.