Tell us what’s happening:
I keep failing steps 2 (You should have four list items inside the unordered list) and 14 (The links on the page should have no underline by default.)
Your code so far
<!-- file: index.html -->
<!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="1"/>
<label for="1">Test</label>
<ul class="sub-item">
<li><a class="sub-item-link" href="https://www.cnn.com" id="1" target="_blank">Cow</a></li>
<li>
<input type="checkbox" id="2"/>
<label for="2">Test2</label>
<ul class="sub-item">
<li><a class="sub-item-link" href="https://www.cnn.com" id="2" target="_blank">Dog</a></li>
<li>
<input type="checkbox" id="3"/>
<label for="3">Test3</label>
<ul class="sub-item">
<li><a class="sub-item-link" href="https://www.cnn.com" id="3" target="_blank">Sheep</a></li>
<li>
<input type="checkbox" id="4"/>
<label for="4">Test4</label>
<ul class="sub-item">
<li><a class="sub-item-link" href="https://www.cnn.com" id="4" target="_blank">Donkey</a></li>
</ul>
</body>
</html>
/* file: styles.css */
a:link {
color: red;
text-decoration: none;
}
a:visited {
color: green;
text-decoration: none;
}
a:hover {
color: hotpink;
text-decoration: none;
}
a:active {
color: blue;
text-decoration: none;
}
a:focus {
outline: 2px solid orange;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36 Edg/136.0.0.0
Challenge Information:
Build a Stylized To-Do List - Build a Stylized To-Do list