Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<body>
<div id="myDIV" class="container">
<div class="header">
<input type="text" id="myInput" placeholder="Title..." />
<input type="text" id="myInput" placeholder="Enter Task" />
<span onclick="newElement()" class="addBtn">Add</span>
<h1>My To Do List</h1>
</div>
Expand All @@ -22,6 +22,8 @@ <h1>My To Do List</h1>
<li>Buy eggs</li>
<li>Read a book</li>
<li>Organize office</li>
<li>Go shopping</li>
<li class="checked">Make noodles</li>
</ul>
</div>

Expand Down
19 changes: 12 additions & 7 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@

body {
background-color: #1c1c5d;
border: 5pt solid white;
border-radius: 8pt;
padding: 15pt;
margin: 10pt;

}
#divunder{
Expand Down Expand Up @@ -91,7 +95,7 @@ ul li.checked::before {
}

.close:hover {
background-color: #FF9494;
background-color: #f72525;
color: white;
}

Expand All @@ -102,10 +106,12 @@ ul li.checked::before {
align-items: center;
background-color: #0b0b0b;
padding: 90px 40px;


border: 5pt solid white;
border-radius: 5pt;
color: white;
text-align: center;
border-radius: 5px;

}


Expand All @@ -124,7 +130,7 @@ ul li.checked::before {
#myInput {
margin-left: 150px ;
border: none;
border-radius: 0;
border-radius: 5pt;
width: 45%;
padding: 10px;
float: left;
Expand All @@ -142,12 +148,13 @@ ul li.checked::before {
font-size: 16px;
cursor: pointer;
transition: 0.3s;
border-radius: 0;
border-radius: 5pt;
}

.addBtn:hover {
background-color: rgb(47, 47, 108);
color: #888;

}

.container #myInput {
Expand Down Expand Up @@ -182,8 +189,6 @@ ul li.checked::before {

}



@keyframes animate {

0%,
Expand Down