Haiku Checker/Creator

By Henry Sullivan, Jennifer Holcomb, Vera Weikel, Yodel Guanzon

A Haiku Checker/Creator app

Technologies Used

  • HTML
  • CSS
  • Javascript
  • Webpack
  • Babel
  • esLint
  • npm
  • Jest
  • Bootstrap

Description

Test driven development, the JavaScript Date object, classes and Jest.

Objectives

A haiku is a poem that consists of three lines. The first has five syllables, the second has seven, and the third has five. Start by creating an application that checks whether a poem is in fact a haiku. If you have time, build out your application so that it can randomly generate haikus.

This project provides an excellent opportunity for TDD with Jest.

Your logic should verify that the poem has three lines. Your logic should verify English syllable rules (and exceptions) one at a time. A quick Google search will provide information on English syllable rules. If you successfully complete a Haiku checker, continue to build out your application to randomly generate haikus. Make sure to use class syntax and, as always, use TDD to develop your business logic before writing any user interface logic.

Goals

The user should be able to enter in a date and see what day of the week that date occurred on.

Setup/Installation Requirements

  • Clone this repo to your workspace.
  • Navigate to the top level of the directory.
  • Open index.html in your browser.

Known Bugs

  • No known bugs.

License

MIT

Copyright (c) 2022 Henry Sullivan, Jennifer Holcomb, Vera Weikel, Yodel Guanzon

MIT License

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.