GithubHelp home page GithubHelp logo

t-ho / angular2-reactive-forms-data-and-validation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from coursefiles/angular2-reactive-forms-data-and-validation

1.0 2.0 0.0 561 KB

The repository for the project code for the course Angular 2 Forms: Data Binding and Validation by Justin Schwartzenberger.

JavaScript 16.06% TypeScript 28.12% CSS 23.20% HTML 32.62%

angular2-reactive-forms-data-and-validation's Introduction

Angular 2 Forms: Data Binding and Validation

Angular 2 Forms: Data Binding and Validation

This is the repository for my course, Angular 2 Forms: Data Binding and Validation. The full course is available at lynda.com.

Course Description

Building HTML forms in the web world is never as straightforward as expected. Collecting user input and implementing dynamic form validation, that automatically reacts to input, can be difficult without the right solution. When building client side apps using Angular you get a good amount of framework code out of the box that makes working with forms a breeze. Angular allows you to easily handle dynamic form validation by taking advantage of two-way data-binding functionality.

This course shows how to build HTML web forms with the Angular forms module, using Angular form building blocks and built-in validation properties and methods. Learn how to use the reactive (model-driven) forms approach to build out a model representation of form data in code and bind it to native HTML form elements. This course also explores how to implement validation, using JavaScript, in case you need more fine tuned control of your interactions.

Instructions

  1. Make sure you have these installed
  1. Clone this repository into your local machine using the terminal (mac) or Gitbash (PC)

    git clone https://github.com/coursefiles/angular2-reactive-forms-data-and-validation.git

  2. CD to the folder

    cd angular2-reactive-forms-data-and-validation

  3. Run the following to install the project dependencies:

    npm install

  4. Run the npm start command to build the code, watch for file changes, and serve up the site locally:

    npm start

The repository has a branch for each video starting point. For example, the branch 02-01b is used as the starting code for the video 02-01 Input type text. You can checkout branches using git checkout <branchname> and not have to re-run npm install each time since you will remain in the same root folder.

Note that the site will run using gulp-webserver and will be served up at the following local address:
http://localhost:8000/

If you use a code editor that launches its own web server please note that it may run on a different port number. You will want to use npm start for this project.

More Stuff

Check out some of my other courses on lynda.com. You can also follow me on twitter, or read my blog.

angular2-reactive-forms-data-and-validation's People

Contributors

jschwarty avatar

Stargazers

 avatar

Watchers

 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.