In this assignment let's build a Login App
Application summary : -- https://assets.ccbp.in/frontend/content/react-js/login-app-output.gif --
- Extra Small (Size < 576px), Small (Size >= 576px)
- Medium (Size >= 768px), Large (Size >= 992px) and Extra Large (Size >= 1200px)
- Download dependencies by running
npm install
- Start up the app using
npm start
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
Hex: #2b2c49
Hex: #ffffff
Hex: #b5b9ff
Hex: #f8fafc
Hex: #303150
- Roboto