Giter Site home page Giter Site logo

analyze-anagrams-palindromes's Introduction

Word Analyzing Webpage

A page that will return if entered words are anagrams, antigrams, or palindromes, 04.21.2017

By Sara Schultz

Description

As the first independent project at Epicodus as a Ruby student, this project was to create a website where a user could enter two words. The site would process the user input through defined methods to return if the words are anagrams (words containing the same letters), antigrams (words that do not contain like letters), or a palindrome (words that are spelt the same way forwards and backwards).

Specifications

Behavior Input Output
The program will check if two words are anagrams 'ruby' 'bury' 'These words are anagrams'
The program will check for anagrams regardless of case 'Eat' 'TEa' 'These words are anagrams'
The program will check if a word is a palindrome 'now' 'won' 'These words are palindromes.'
The program will not allow words outside of the english language. (words not containing vowels.) 'nm' 'th'
The program will check if the words are antigrams 'hi' 'bye' 'These words are antigrams'
The program will account for multiple words without taking in punctuations 'Hello!' 'gooBye.' 'hello' 'goodbye'

Setup/Installation Requirements

  • Copy the URL to this repository
  • Open terminal and navigate to the desktop
  • Clone this repository using command: git clone "insert-url-here"
  • Open code in text editor of choice

Known Bugs

The only aspect that I would like to revisit would be in the event for when the user enters words that are palindromes. Ex: 'now' and 'won'. In the applications current state, it will return the last true statement: 'These words are palindromes.' However, I would like it to be able to say both 'These words are anagrams.' and 'These words are palindromes.'

Support and contact details

For support, questions, comments or ideas contact Sara: [email protected]

Technologies Used

HTML, Bootstrap, Ruby, Sinatra, Capybara Integration Testing, rspec Gem, BDD

License

Open source.

Copyright (c) 2017 Sara Schultz

analyze-anagrams-palindromes's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.