Skip to content

Pia007/Isogram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Isogram Checker

Table of contents

Overview

The Challenge

Isogram Checker

For this CodeWars challenge, write a function checks if a word is an isogram. An isogram is a word that has no repeating letters, consecutive or non-consecutive. The application accepts a user's input and evaluates whether or not it is an isogram. Additionally, if the input does not fit the criteria for evaluation, the user is prompted to try again.

NOTE

The input automatically clears after 2.5 seconds.

Files

There are two JavaScript files. Main.js contains the function and additional coding neccessary to connect to the html. Isogram.js has the plain function.

Isogram Checker - Desktop Isogram Checker - Mobile

Links

My process

Built with

  • Semantic HTML5 Markup
  • JavaScript
    • String Methods
    • Array Methods
    • Document Object Model
    • Regular Expressions
    • For Loops
    • Conditional Operators
    • Template Literals
  • CSS3

What I learned

As simple as this app may seem, it was challenging to implement a function that evaluates the input based on certain conditions prior to actually evaluating whether the input is an isogram or not. I learned to how to create functions that used a combination of string & array methods, regular expressions, loops, conditional operators, template literals and DOM maipulation.

Author