-
Notifications
You must be signed in to change notification settings - Fork 2
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
first commit #3
base: main
Are you sure you want to change the base?
first commit #3
Conversation
@@ -0,0 +1,78 @@ | |||
// App.jsx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
first of all use the extension prettier, this will format your document and make it readable.
|
||
return (<li className="items"> | ||
<div className="items-text"> | ||
<input type="checkbox" checked={task.checked} onChange={()=>toggleCheck(task.taskName)}/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in that way if i have two tasks with the same name both of them will marked as complete,
find a uniqe value for making changes on taks, id for example.
@@ -0,0 +1,29 @@ | |||
import React, { useState } from "react"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove unnecessary packages.
@@ -0,0 +1,24 @@ | |||
import React from "react"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove unnecessary packages.
@@ -0,0 +1,14 @@ | |||
// Stats.jsx | |||
|
|||
import React from "react"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove unnecessary packages.
@@ -0,0 +1,78 @@ | |||
// App.jsx | |||
|
|||
import React, { useState } from "react"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove unnecessary packages.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice work!!
please complete the css style for this project.
No description provided.