Newton Kiragu
Word count is a website that is used to look for a certain word in a sentence and be able to return the number of times the word appears in the sentence. click here to go to the deployed site.
- The website takes an input of the word to be found
- The website then takes a sentence as an input
- The website loops through the sentence and and counts the number of times the word has been repeated
- The website then displays the output
Navigate to GitHub via your browser Clone or download the repository and navigate into the app
$ git clone https://github.com/newtonkiragu/word_count.git
$ cd word_count
Install the necessary gems by running
$ Bundle
start your server then on your web browser open localhost:4567
$ ruby app.rb
MIT