This exercise is designed to practice DOM manipulation using vitest and Node.js.
Hello, in this project shows how to customize the client cart according to the car color choose by the user. When the user choose a red car, the car photo should be red and the color of the menu bar and the cart should correspond the same color. This actions will be repeated when the use choose the black and gray cars too.
- Visual Studio Code
-Clone the repository git clone https://github.com/FemCoders-BCN/dom-exercise-Thazet.git
Navigate to the project directory cd dom-exercise-Thazet
2-Make sure you have the following installed on your machine: Node.js (version >=v18.00) npm (usually comes with Node.js installation)
3- The test used is Vitest vitest
5- Install dependencies npm install 6 - nmp test
Visit http://127.0.0.1:5500/index.html to view and interact with the exercise.
-This exercise uses vitest for testing and Node.js for running the server. -Modify the necessary files inside the src directory to complete the exercise. -Refer to the provided documentation or exercises for specific instructions on tasks.
Contributing
-If you'd like to contribute to this exercise, feel free to fork the repository and submit a pull request.