Giter Site home page Giter Site logo

llambanna / springload-form-validation-problem Goto Github PK

View Code? Open in Web Editor NEW

This project forked from springload/form-validation-problem

0.0 0.0 0.0 22 KB

A task for potential Springload developers.

Home Page: https://springload.github.io/form-validation-problem/

HTML 100.00%

springload-form-validation-problem's Introduction

Form validation problem

We've created this problem to evaluate how developers tackle a real-world problem. If you've been assigned this problem you should spend around 2 hours working on it. The last thing we want you to do is toil away for days on end!

If you've stumbled across this and want to work at Springload feel free to submit it too. We're always on the lookout for skilled developers.

Problem definition

Imagine, if you will, a form.

The form has a title reading "Contact form".

The form has these fields:

  • Email must be a valid email address.
  • Password must be longer than 8 characters.
  • Colour is multichoice, where only one option may be selected, and the options are Blue, Green, Red, Black and Brown.
  • Animals is multichoice, where multiple options can be selected, and the options are Bear, Tiger, Snake, and Donkey.
  • If Tiger is selected then a textbox Type of tiger is revealed and this is a required field.

Feel free to decide any styling, responsive behaviour, or any text for error messages or labels or placeholders etc, yourself.

Your objective is to produce this form with as much or as little sophistication as you see fit, explaining what informed your decisions.

Other advice

2 hours isn't much, so it's ok to not do everything!

We want to see what you've prioritised, and a description of what hasn't been done.

You might want to consider:

  • Accessibility
  • Progressive enhancement
  • Browser support
  • Testing
  • Documentation

Finally...

Submit your solution to the person who sent you the test, or to Springload... send a link to your repo or a ZIP or something like that.

Thanks!

springload-form-validation-problem's People

Contributors

pugsley avatar thibaudcolas avatar emlyn-h avatar llambanna avatar joshbarr 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.