Leap Year

This site comes with the all basic parts to get you started making a single page website fast. | April 1st. 2020

By Joshua Hellman & Nathan Watkins-Hoagland

Description

This leapyear site has one index.html file that is already linked to the included bootstrap.css(4.4), styles.css, jQuery.js(3.4.1), and scripts.js.

There is a pre-built two input form with a submit button. There is also a simple jQuery function that will console.log when the submit button is clicked.

The .gitignore file is a template for mac osx but a link is provided to get a template for any operating system.

create a .gitignore template for your os here

Setup/Installation Requirements

Make sure you have git version control installed on your computer.

  1. find the green 'Clone or Download' button and copy the link
  2. open terminal and type...

Windows

cd desktop

Mac & linux

cd ~/Desktop
  1. in terminal type 'git clone {link to repository} '
git clone {link to repository}
  1. navigate to the new folder that was created on your desk
  2. select index.html
  3. right click on the file and select 'open with'
  4. select your browser
  5. enjoy this project

Specs

Behavior Driven Development Spec List

Leap year

Behavior Input Output
The program should return 'true' for years divisible by 4 '2004' 'true'
The program should return false for years divisible by 100 '1900' 'false'
The program should return 'true' for years divisible by 400 '2000' 'true'
The program should return 'false' when a year is not a leap year '1993' 'false'

Pig Latin

Behavior Input Output
The program does nothing to non-alphabetical characters '4' '4'
The program adds "yay" to single-letter words beginning with a vowel. 'I' 'I-yay'
The program adds "yay" to the end of words beginning with a vowel 'Apple' 'Apple-yay'
The program will take words that start with consecutive consonants and move those consonants to the end and add "ay" to the word "create" 'eatecr-ay'
The program will take words containing "qu" and treat it as one letter, it will remove the "u" as well as the "q" and place to the back of the word 'squeal' 'ealsqu-ay'

Support

The software is provided as is. It might work as expected - or not. Just don't blame me.

Built With

Useful tools





License

This project is licensed under the MIT License - see the LICENSE.md file for details

Copyright (c) 2020 Joshua Hellman & Nathan Watkins-Hoagland