Open yogeshtakeo opened 1 year ago
Name: Shanti Basnet Task 5: CSS and JS https://github.com/shantibasnet/css-jsx/tree/master
Name: Manoj Basnet Task 5: CSS and JS
Name: Santona Subedi Task 5: CSS and JS Github Repo URL: https://github.com/sansubed/ReactViteAppTask5.git
Name: Bikalp Timalsina Task 5: CSS and JS Git Repo URL: https://github.com/Youngbikalp/Task-5-CSS-and-JS.git
Name: Nima O Lama Task 5: CSS Styling in a React Project with Vite Git URL:https://github.com/Nimaomu/css-and-jss
Name: Raj Kumar Maharjan Task5- CSS & JS Github repo link: https://github.com/samragi99/task5-practise.git
Name: Narayan Adhikari Task 5: CSS Styling in a React Project with Vite GitHub URL: https://github.com/Narayanadhikari9/CssVariable/tree/main/Varaable
Name: Samyak Tuladhar Task 5: CSS Styling in a React Project with Vite GitHub URL: https://github.com/samyak1996/fifth-task-react
Name: Prakash Karki Task 5: CSS and JS Github Repo URL: https://github.com/karki37/css-styling-task5.git
Name: Roshna Tuladhar TASK #5: CSS and JS Github: https://github.com/Roshna07/Day-4-css-styling-.git
Name: Madhav Dhital Task 5: CSS and JS GitHub: https://github.com/Madhv98/task5.git
Name: Anil Timalsina Task 5: CSS Styling in a React Project with Vite Github URL: https://github.com/aniltimalsina/react-styling
Task 5: CSS Styling in a React Project with Vite
Objective:
Apply CSS styling in a React project created with Vite.
Task Overview
Task Details
- Review CSS Styling and JavaScript Variables.
Watch a tutorial video or read articles on CSS styling and JavaScript variables. Youtube video to learn about variables CSS styling methodology Familiarize yourself with the basics of CSS selectors, properties, and values. Understand the concept of JavaScript variables and their usage.
- Set Up a React Project with Vite.
You can also use the normal way that we used to create the vite react project with
npx create-vite@latest project_name
or Open a terminal or command prompt. Create a new directory for your project:mkdir react-styling cd react-styling
Set up a new React project using Vite by running the following command:npm init vite@latest
- Apply CSS Styling.
styles.css
) in the src directory and write CSS styles to target the class names used in the component.import './styles.css'
;) to apply the styles.Note : Use of proper Stylings UI should be applied padding, margin , border, color, background height , width and the use of px , rem and percentage (%) should be shown in the screenshot submission
- Test and Refine
npm run dev
Task Submission
Take a screenshot of the rendered semantic components in the browser. Share the screenshot of the output and the code that you have written in the issue comment box. Don't forget to mention GitHub URL and your name in the comment section.