Giter Club home page Giter Club logo

f3-contest-1-april_15-2023's Introduction

F3-Contest-1-April_15-2023

Create a form using HTML,CSS and JS and execute given instruction

Tasks Make a simple form, execute the following event handlers. The form should contain 3 inputs - name, profession and age. All of these values are required. By default as soon as the user goes on the screen they see the default view with 0 added employees. A function is executed on click of this button which appends an object into an array. As they keep adding employees this array is mapped to show the data below Added Employees An error message is shown in red if the required fields are empty. A success message is shown in green if the fields are filled and the employee was added successfully. The structure of the array should be - [{id:1,name:"jack",profession:"developer",age:20}, {id:2,name:"john",profession:"admin",age:28}.... and so on] (The ID is given automatically) On clicking of the delete user button that specific object should be removed from the array and the div should disappear.

Marking Scheme (100) User Interface- UI (20 Marks) Error Message (10 Marks) Success Message (15 Marks) Add employee function (20 Marks) Mapping of added employees (10 Marks) Deleting users (25 Marks)

Figma Link : https://www.figma.com/file/rayp6Dv4jjCrj017Rmva5j/Adding-Employees?node-id=2-43&t=HfcLT7kU7vvTCFRb-0

f3-contest-1-april_15-2023's People

Contributors

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