Coder Social home page Coder Social logo

react8-lifecycle's Introduction

WCS - Quest-React Lifecycle


Wild Code School quest with react.js

Deployed At:

https://dazzling-edison-ce4ec2.netlify.com/

Goal:

Create a React component including a form.

The component will have a state containing 2 keys: title: (string): state relating to the form textglobalTitle: (string): state relating to the page title

The form will have a text field too and a validation button

The text field will be controlled by the component state

After the component has been rendered, we will display “Rendered Form” in the browser console

During the form validation, we will update the component "globalTitle" state with the following value: "My form - "

Once the component is updated, we will display “Title changed” in the browser consoleOnce completed, commit and push the application to GithubDeploy the project on NetlifyAdd the project link in your project READMEPost your GitHub project link to the solution for this challenge

Validation criteria:

  1. The GitHub project README contains the link to the deployed application on Netlify

  2. The application displays a form.

  3. The form contains a text field and a button.

  4. The text field is controlled by the component state.

  5. When the component is displayed, a message appears in the console.

  6. The page title changes during the form validation.

  7. A message appears in the console during the page title update.

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.