Skip to content

A demo login and logout application that changes home page text content on clicking button. (Basic react Application)

Notifications You must be signed in to change notification settings

vivekreddy-k/login-logout-react-3

Repository files navigation

In this assignment let's build a Login App

Refer to image below:



Design Files

Project Set Up Instructions

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

Project Completion Instructions

Add Functionality

The app must have the following functionalities

  • When the page is opened the HTML button element should have Login as text content and the HTML heading element should have Please Login as text content initially.

  • When the HTML button element is clicked

    • If the text content in the button is Login then it should be changed to Logout and the heading should be changed to Welcome User.
    • If the text content in the button is Logout then it should be changed to Login and the heading should be changed to Please Login.
  • Your task is to complete the implementation of

    • src/components/Home/index.js
    • src/components/Home/index.css
    • src/components/Login/index.js
    • src/components/Login/index.css
    • src/components/Logout/index.js
    • src/components/Logout/index.css
    • src/components/Message/index.js
    • src/components/Message/index.css

Resources

Colors

Hex: #2b2c49
Hex: #ffffff
Hex: #b5b9ff
Hex: #f8fafc
Hex: #303150

Font-families

  • Roboto

About

A demo login and logout application that changes home page text content on clicking button. (Basic react Application)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published