Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Nandhakumar055/React-Hook_React-Js_Project-49_Unlock_Lock_App

Repository files navigation

In this project, let's build a Unlock/Lock App by applying the concepts we have learned till now.

Refer to the image below:



Design Files

Click to view

Set Up Instructions

Click to view
  • Download dependencies by running npm install
  • Start up the app using npm start

Completion Instructions

Functionality to be added

The app must have the following functionalities

  • When the app is opened,
    • The given lock image should be displayed
    • Your Device is Locked text should be displayed
    • Unlock button should be displayed
  • When the Unlock button is clicked,
    • The given unlock image should be displayed
    • Your Device is Unlocked text should be displayed
    • Lock button should be displayed
  • When the Lock button is clicked,
    • The given lock image should be displayed
    • Your Device is Locked text should be displayed
    • Unlock button should be displayed
Implementation Files

Use these files to complete the implementation:

  • src/components/Unlock/index.js
  • src/components/Unlock/styledComponents.js

Important Note

Click to view

The following instructions are required for the tests to pass

  • Styled Components should be used for styling purposes
  • Roboto should be applied as font-family for Your Device is Locked paragraph

Resources

Image URLs
Colors
Hex: #161617
Hex: #ffffff
Hex: #06b6d4
Hex: #e2e8f0
Hex: #3c2940
Hex: #0b0c1e

Font-families
  • Roboto

Things to Keep in Mind

  • All components you implement should go in the src/components directory.
  • Don't change the component folder names as those are the files being imported into the tests.
  • Do not remove the pre-filled code
  • Want to quickly review some of the concepts you’ve been learning? Take a look at the Cheat Sheets.

React-Hook_React-Js_Project-01_Unlock_Lock_App

About

React-Hooks React-Js_Project-49 / Unlock_Lock_App

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /