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
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<body>
<div class="todo-container">
<h1>Git Going</h1>
<h1>Git Going darkgunxucun $$$ Everybody making money</h1>
<input type="text" id="todo-input" placeholder="Add a task">
<button id="add-todo">Add</button>
<ul id="todo-list"></ul>
Expand Down
37 changes: 37 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
body {
font-family: Arial, sans-serif;
background-color: #fbeeff;
padding: 30px;
}

.todo-container {
background-color: #fff;
border-radius: 5px;
padding: 20px;
max-width: 500px;
margin: 0 auto;
}

#todo-list {
list-style-type: none;
padding: 0;
}

#todo-list li {
padding: 10px;
border: 1px solid #ddd;
margin-bottom: 10px;
position: relative;
}

#todo-list li.done {
text-decoration: line-through;
color: #888;
}

#todo-list li button {
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
}