Skip to content

Commit

Permalink
Changes App back to original settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
theimpossibleleap committed May 20, 2024
1 parent 164e0e7 commit 4fce212
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,21 @@ function App() {
spellCheck='false'
>
</input>

<button className='button' onClick={handleAdd}>
<div className='buttonContainer'>
<button className='button' onClick={handleAdd} tabIndex={0}>
Add Item
</button>
<button className='button' onClick={handleClear}>
<button className='button' onClick={handleClear} tabIndex={0}>
Clear List
</button>
<hr className='hr'/>
</div>
</form>
<hr className='hr'/>
<ul className='list'>
{list.map((item, index) => (
<div key={Math.random()}>
<div className='listContainer'>
<input type="checkbox" onClick={() => handleDelete(index)}/>
<input type="checkbox" tabIndex={0} onClick={() => handleDelete(index)}/>
<li className='listItem'>

<Markdown>
Expand All @@ -83,9 +84,11 @@ function App() {
{completed.map((item, index) => (
<div key={Math.random()}>
<div className='listContainer'>
<input type="checkbox" checked/>
<input type="checkbox" tabIndex={0} defaultChecked />
<li className='listItem'>
{item}
<Markdown>
{item}
</Markdown>
</li>
</div>
</div>
Expand Down

0 comments on commit 4fce212

Please sign in to comment.