严宋扬 贺浩庭
vscode installation guide for mac/windows
node installation guide for mac/windows
how to set taobao npm registry
-
Basic Requirement: Based on existing code, please finish the deletion feature of todo items.
-
Bonus Challenge: Based on your knowledge from previous session, try to add some css styles for your todo list to make your todo list look better😙
In order to finish the quiz, you may need to be familar with Js array filter
and map
methods.
const items = [1, 2, 3, 4];
const index = 2;
const filteredItems = items.filter((x, i) => i !== index);
const items = [1, 2, 3, 4];
const doubledItems = items.map(x => x * 2);
Install dependencies:
npm i
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.