10000 GitHub - TayYim/todo-list: Practice for web class 5.19
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

TayYim/todo-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins Homework

严宋扬 贺浩庭

运行截图: screenshot 具体过程: BlueOcean

About

Useful Docs

vscode installation guide for mac/windows

node installation guide for mac/windows

how to set taobao npm registry

Homework

  • 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😙

Filter and Map

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); 

How to start your application

Install dependencies:

npm i

In the project directory, you can run:

npm start

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.

About

Practice for web class 5.19

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0