mirror of
https://github.com/BenDWit/freecodecamp.git
synced 2025-12-23 15:09:59 +01:00
finished stylized todolist
This commit is contained in:
parent
28d797e194
commit
c05a6934bd
2 changed files with 81 additions and 0 deletions
|
|
@ -0,0 +1,44 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Styled To-Do List</title>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<ul class="todo-list">
|
||||
<li>
|
||||
<input type="checkbox" id="checkbox-1" >
|
||||
<label for="checkbox-1">software to install</label>
|
||||
<ul class="sub-item">
|
||||
<li><a class="sub-item-link" href="https://obsidian.md/" target="_blank">install obsidian</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<input type="checkbox" id="checkbox-2" >
|
||||
<label for="checkbox-2">tools to try</label>
|
||||
<ul class="sub-item">
|
||||
<li><a class="sub-item-link" href="https://obsidian.md/" target="_blank">install obsidian</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<input type="checkbox" id="checkbox-3" >
|
||||
<label for="checkbox-3">courses to complete</label>
|
||||
<ul class="sub-item">
|
||||
<li><a class="sub-item-link" href="https://obsidian.md/" target="_blank">install obsidian</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<input type="checkbox" id="checkbox-3" >
|
||||
<label for="checkbox-3">new stuff to try</label>
|
||||
<ul class="sub-item">
|
||||
<li><a class="sub-item-link" href="https://obsidian.md/" target="_blank">install obsidian</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
body {
|
||||
background-color: gray;
|
||||
}
|
||||
|
||||
.todo-list {
|
||||
color: black;
|
||||
background-color: rgba(0, 0, 0, 0.21)
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:link {
|
||||
text-decoration: none;
|
||||
color: red;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
text-decoration: none;
|
||||
color: green;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
color: hotpink;
|
||||
}
|
||||
|
||||
a:active {
|
||||
text-decoration: outline;
|
||||
color: blue;
|
||||
}
|
||||
|
||||
a:focus {
|
||||
outline: 2px solid orange;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue