Giter Site home page Giter Site logo

arfarobs / intro-component-with-sign-up-form Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4.67 MB

A sign up form with client side validation.

Home Page: https://arfarobs.github.io/intro-component-with-sign-up-form/

HTML 27.63% CSS 49.25% JavaScript 23.12%

intro-component-with-sign-up-form's Introduction

Intro component with sign up form

Table of contents

Overview

I found this challenge relatively easy. I'm going to move on to something a bit more difficult after this. The design only had a mobile and desktop version so I added a breakpoint inbetween.

If you have time I'd love some feedback on the following things. How is my forms HTML? How is my JS? Any other feedback would be great.

The challenge

Users should be able to:

  • View the optimal layout for the site depending on their device's screen size
  • See hover states for all interactive elements on the page
  • Receive an error message when the form is submitted if:
    • Any input field is empty. The message for this error should say "[Field Name] cannot be empty"
    • The email address is not formatted correctly (i.e. a correct email address should have this structure: [email protected]). The message for this error should say "Looks like this is not an email"

Screenshot

Desktop view Large tablet view Mobile view

Links

My process

  1. Write the HTML.
  2. Download fonts.
  3. Style mobile view.
  4. Style tablet view.
  5. Style desktop view.
  6. Add active states.
  7. Write the client side validation.
  8. Refactor code.
  9. Finish readme.

Built with

  • Semantic HTML5 markup
  • CSS
  • JavaScript
  • Client Side Validation
  • Flexbox
  • Mobile-first workflow

What I learned

The background shorthand. - I wouldn't say it is something that I learned, but it's something that I have made an effort to use.

Continued development

I thought this was to easy so I am going to focus on something more complicated next time.

intro-component-with-sign-up-form's People

Contributors

arfarobs avatar

Watchers

 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.