-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata.js
More file actions
34 lines (33 loc) · 843 Bytes
/
data.js
File metadata and controls
34 lines (33 loc) · 843 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// data.js
// **Todos List*/
// file is holding some temporary test data
//every item has a unique id!!
const todos = [
{
id: 1,
title: "Coding in Javascript",
description: "Working with functions in JavaScript",
completed: false,
},
{
id: 2,
title: "Cooking Supper",
description: "Preparing rice and chicken",
completed: false,
},
{
id: 3,
title: "Taking a walk",
description: "Easy time at the park",
completed: false,
},
{
id: 4,
title: "Watching Netflix",
description: "Enjoying the new premiered series",
completed: false,
},
];
// this makes sure that this file is accesible in other parts of the application
// this makes the internal mosule callable
module.exports = todos;