Giter Site home page Giter Site logo

group-5-forms's Introduction

Group-5-Forms

  • Create a react app with a simple login form component.
  • The form should consist of two text inputs: one for username and one for password. Each input should update its value attribute on input change.
  • There should also be a Submit button. It should call the onSubmit handler when the button is pressed.
  • When the Submit button is pressed, the onSubmit handler should be called.When onSubmit handler should is called it should console the username and password input by the user.

Requirements

  • Create a textInput element for the username field. It should have its id set to username-input.
  • The username input should display a placeholder with its value set to Username when the input is empty.
  • The username input should update its value attribute on being changed with the entered username.
  • Create a textInput element for the password field. It should have its id set to password-input.
  • The password input should display a placeholder with its value set to Password when the input is empty.
  • The password input should update its value attribute on being changed with the entered password.
  • Create a Submit button with its id set to login-button.
  • The Submit button should be disabled (disabled attribute set to true) until both username and password fields are filled.
  • The onSubmit handler should be called when the Submit button is clicked.
  • The onSubmit handler should be called with username and password passed as parameters.

group-5-forms's People

Contributors

charison01 avatar orandifelix 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.