Git Product home page Git Product logo

web-dev-challenge's Introduction

Web Dev Challenge

A simple web development challenge for potential hires

Difficulty: 3/5

Expected time: 45min

Applicant Info

Name: [Enter Your Name]

Email: [Enter Your Email Address]

Directions

Part 1 - Setup

Please fork this repository to your own github, clone your personal repo, and complete the tasks there

Part 2 (Required) - Making it work

Typing a phrase into the text input and hitting the ENTER key or clicking the "Check" button should result in correctly letting you know if the entered phrase is a palindrome or not.

For this to work correctly you must implement the code for 2 functions, RemoveWhitespace and IsItAPalindrome.

Once you think you have it, enter some phrases and test it out yourself.

In addition to your own tests you can click the "Test" button in the lower left hand corner of the page (OR run Text() in the console if you prefer) to see how you do against some tests we've come up with.

Your solution should pass all tests, run with no errors, and have useful comments where your feel necessary!

NOTE: We expect you to be able to complete this challenge without the need for any addition JavaScript libraries (that means NO jQuery). However, if you use any online references please include links in your comments to the source.

Part 3 (Required) - Expansion

Choose one (or more) of the following features to add the the page:

  • Upon checking a phrase, add it to a running list of the previous 10 phrases entered and their results
  • Add a toggle that allows someone to specify whether they want punctuation to be included in checking if something is a palindrome
    • Add logic to make the toggle work in code
  • Add a toggle that allows someone to specify whether they want whitespace to be included in checking if something is a palindrome
    • Add logic to make the toggle work in code

NOTE: We expect you to be able to complete this challenge without the need for any addition JavaScript libraries (that means NO jQuery). However, if you use any online references please include links in your comments to the source.

Part 4 (Optional) - Making it better

Here is where you can feel free to improve on the look, feel, and functionality of the site as you please (provided you stick to not using any additional JavaScript libraries).

Part 5 - Submission

To submit, push all your work and changes to your own repo and create a pull request to the original repository's master branch. Be sure to include any and all additional changes you might have made either in code comments or this readme file

web-dev-challenge's People

Contributors

isaiahbydayah avatar zsam56 avatar

Watchers

James Cloos avatar  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.