Giter VIP home page Giter VIP logo

user-list-ui's Introduction

You are a famous hacker who has access to a list of the world's most famous celebrities. You have to create a system where you can view and edit their details to hide their public presence.

Your mission if you choose to accept it, you have to:

  1. Create the user interface provided with the design provided

  2. The user list item is an accordion,

    • when clicked on, it will cause all the other accordions to collapse and enlarge the one which was clicked.
    • If clicked on the same one it will collapse.
    • Manage the + and - icons in open or collapsed mode (collapsed = - | open = +)
  3. Fetch the JSON file provided to fill the list of users. (NOTE - YOU CANNOT EDIT THE JSON FILE)

    • You have to calculate the age of the user based on the date of birth provided
    • gender should be a dropdown (Male | Female | Transgender | Rather not say | Other)
    • country is a text field
    • Description is a text area
  4. Provide buttons to edit or delete

    • edit mode will let you edit the details of the user in the exact place
    • you can only edit the user if the user is an adult
    • validations to be implemented where a user cannot -- input text in the age field -- input numbers in the nationality -- keep anything empty
    • when in edit mode you can either save or cancel -- save button will be disabled by default and will enable only if the details have changed -- save click will update the user's details -- cancel will revert the details to their last known state -- you cannot open another accordion while in edit mode
    • delete mode should alert you if you actually want to delete the user -- if yes - the user will be deleted -- if no - do nothing
  5. Typescript is a plus

This message will self destruct in 5... 4... 3... 2... 1... NOT

user-list-ui's People

Contributors

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