Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lesson 1 7 #26

Open
wants to merge 29 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
e4cba82
completed list task
OmarAlareeki Aug 17, 2021
88dbaac
Merge branch 'Code-the-Dream-School:main' into lesson-1-1
OmarAlareeki Aug 19, 2021
108e985
Assignment completed
OmarAlareeki Aug 21, 2021
1d95cbe
assignment is complete
OmarAlareeki Aug 21, 2021
25f75be
assignment completed
OmarAlareeki Aug 21, 2021
d2e4af2
pulled lesson1-2
OmarAlareeki Aug 30, 2021
5e4573f
added todoListItem
OmarAlareeki Aug 30, 2021
dee72f8
adding item
OmarAlareeki Aug 30, 2021
532b8e5
Merge pull request #1 from OmarAlareeki/lesson-1-2
OmarAlareeki Aug 30, 2021
3705032
fixed repo nodes
OmarAlareeki Aug 31, 2021
d0f274c
changes list items
OmarAlareeki Aug 31, 2021
9136f6b
completed assginment
OmarAlareeki Sep 1, 2021
0b9614b
made changes to check and learn
OmarAlareeki Sep 4, 2021
0aa97e9
fixing node dir
OmarAlareeki Sep 10, 2021
be42ded
fixing node ignore
OmarAlareeki Sep 10, 2021
d8a2e66
fixing node folder
OmarAlareeki Sep 10, 2021
37fd05a
Delete node_modules directory
OmarAlareeki Sep 10, 2021
d708ea3
fixing node dir
OmarAlareeki Sep 10, 2021
1077552
fixing node
OmarAlareeki Sep 10, 2021
bec7091
added ignore to node m
OmarAlareeki Sep 10, 2021
2ce284c
Merge branch 'Code-the-Dream-School:main' into main
OmarAlareeki Sep 10, 2021
e3640e9
1-4 is complete
OmarAlareeki Sep 15, 2021
894be99
fixed conflict
OmarAlareeki Sep 15, 2021
cfb54df
Merge pull request #5 from OmarAlareeki/lesson-1-4
OmarAlareeki Sep 15, 2021
e03ae3c
Merge branch 'Code-the-Dream-School:main' into main
OmarAlareeki Sep 18, 2021
ccdc43a
assignment-1-5 completed
OmarAlareeki Sep 22, 2021
395499c
Merge pull request #6 from OmarAlareeki/lesson-1-5
OmarAlareeki Sep 26, 2021
2afd7c4
lesson-1-6 completed
OmarAlareeki Sep 29, 2021
261b9b8
completed lesson-1-7
OmarAlareeki Oct 18, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added todoListItem
OmarAlareeki committed Aug 30, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 5e4573f0dfe70500eccc56e9b918b7636eb9e276
37,125 changes: 37,125 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

15 changes: 7 additions & 8 deletions src/TodoList.js
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
import React from 'react';
import TodoListItem from'./TodoListItem';

const todoList = [
{
'id': 1,
'title': 'Complete the coding challenge on uidaily.com'
'title': 'React'
},
{
'id': 2,
'title': 'Search for a remote job'
'title': 'Html'
},
{
'id': 3,
'title': 'Ask for help moving furniture next month'
'title': 'Css'
},
]

const TodoList = () => {
const TodoList = (props) => {
return (
<ul>
{todoList.map((item) => (
<li key={item.id}>
<span>{item.title}</span>
</li>
{todoList.map((todo) => (
<TodoListItem todo={todo.id} />
))}
</ul>
)
11 changes: 11 additions & 0 deletions src/TodoListItem.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from 'react';

const TodoListItem = (props) => {
return (
<li>
<span>{props.todo.title}</span>
</li>
)
}

export default TodoListItem
19,895 changes: 10,085 additions & 9,810 deletions yarn.lock

Large diffs are not rendered by default.