/pingpong

The third independent project for the Epicodus "Intro to Programming" evening program

Primary LanguageHTML

PING-PONG

An project to practice looping and arrays, 6/21/19_

By Craig Hutler

Description

This is an independant project for the Epicodus "Intro to Programming" Evening Track. This project focuses on our ablity to use Javascript arrays and looping to solve a practice problem.

Specifications

  • It can count up to the provided number.
    • Example Input: 3
    • Example Output: [1, 2]
  • It will replace any number divisible by 3 with "ping"
    • Example Input: 3
    • Example Output: [1, 2, ping]
  • It will replace numbers divisible by 5 are replaced with "pong"
    • Example Input: 5
    • Example Output: [1, 2, ping, 4, pong]
  • It will replace numbers divisible by 15 are replaced with "pingpong"
    • Example Input: 15
    • Example Output: [1, 2, ping, 4, pong, ping, 7, 8, ping, pong, 11, ping, 13, 14, pingpong]

Setup/Installation Requirements

Place index.html file in webhost root Transfer CSS and JS directories

Note: this project leverages Bootstrap 4.3.1

Link to site on GitHub Pages

Link to site on GitHub Pages

Known Bugs

  • In the HTML I'd like to have the background color in the leftmost column extend to the bottom edge of the page.

Support and contact details

craig@craighutler.com

Technologies Used

HTML, CSS (Bootstrap), JavaScript and jQuery

Released under MIT License

Copyright (c) 2019 Craig Hutler

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.