Haiku Counter Program
HaikuCounter, November, 14th, 2019
By Geoffrey Orengo and Dylan Manley
Description
__
Setup/Installation Requirements
- Click the clone or download button and copy the link
- Open your terminal and type "git clone (link)"
- Double click on the haikucounter folder
- Double click on index.html to open the file in a web browser
Specs
Specs | Input | Output |
---|---|---|
Checks that three lines are inputted with values | "" | Please enter words for every line. |
Program checks that only letters and punctuation are inputted | 9 | Please use letters only. |
Program splits strings into words | "This is a string" | "This" "is" "a" "string" |
Program ensures words contain at least one vowel | grtlfth | Please enter a word containing vowels |
Program removes a vowel from a word containing two vowels in succession | pain | pan |
Program removes final vowel from words ending in vowel, consonant, vowel in succession | make | mak |
Program combines word strings into line strings | "mak""cak" | "mak cak" |
Program counts vowels in each string | "mak cak" | 2 |
Program checks line 1 to ensure syllable count equals 5 | 2 | This is not a haiku |
Program checks line 2 to ensure syllable count equals 7 | 2 | This is not a haiku |
Program checks line 3 to ensure syllable count equals 5 | 2 | This is not a haiku |
Program checks if each line matches correct syllable count | 5,7,5 | This is a haiku |
Known Bugs
Support and contact details
Dylan Manley at dylan.manley@gmail.com Geoffrey Orengo at geoff.orengo@yahoo.com
Technologies Used
HTML, CSS, Javascript, webpack, Jest, bootstrap and jQuery
License
This software is licensed under the MIT license agreement
Copyright (c) 2019 Dylan Manley and Geoffrey Orengo