Ex No: 4 | EXTERNAL CSS IN REACT.JS |
---|---|
Aim: | To design a React App that uses external CSS for designing the elements. |
Algorithm | |
Step1: Install Node Package Manager (npm) in the system. | |
Step2: Create react app using "npx create-react-app" in the terminal. | |
Step3: Alter the content of the “App.js” file to add the profile page. | |
Step4: Create “style.css” file to store the css information. | |
Step5: Start the React App using "npm start". | |
Source Code | |
App.js
style.css
|
|
Result: | Thus a React App that uses external CSS is implemented. |