Coder Social home page Coder Social logo

add-user's Introduction

Add User In this assignment, let's build an Add User form by applying the concepts we learned till now.

Refer to the below image.

add-user Instructions:

Add the HTML form, input, p, select and button elements to the HTML code Add an id addUserForm to the HTML form element Add the ids name and email to the HTML input elements respectively Add the ids nameErrMsg and emailErrMsg to the HTML paragraph elements respectively Add an id status to the HTML select element Add the ids genderMale and genderFemale to the HTML input radio elements respectively Add the name gender to the HTML input elements with the ids genderMale and genderFemale By following the above instructions, achieve the given functionality.

When the HTML form element with the id addUserForm submitted, Practice adding the error message to the HTML paragraph element with the id nameErrMsg based on the value of the HTML input element with the id name. Practice adding the error message to the HTML paragraph element with the id emailErrMsg based on the value of the HTML input element with the id email. Practice making a POST request to the https://gorest.co.in/public-api/users using the form data as the request object. Practice adding the email error message to the emailErrMsg element if the email has already taken. Practice logging the response in the console. Resources CSS Font families used:

Roboto

add-user's People

Contributors

harish3105 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.