Tell us what’s happening:
I am not sure if my previous attempt had been posted:
I keep receiving this 4 errors:
Failed:14. The links on the page should have no underline by default. Failed:15. The links should change color when hovered over. Failed:16. The links should change color when they are being clicked. Failed:17. The links should have an outline when focused. Failed:18. The links should change color once visited
I don’t know what am I doing wrong ? ![]()
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="style.css">
</head>
<body>
<ul class="todo-list">
<li>
<input type="checkbox" id="task1">
<label for="task1">Go to the Supermarket</label>
<ul class="sub-item">
<li><a class="sub-item-link" href="https://lidl.co.uk" target="_blank">Lidl Mall</a></li>
</ul>
</li>
<li>
<input type="checkbox" id="task2">
<label for="task2">Finish project</label>
<ul class="sub-item">
<li><a class="sub-item-link" href="https://github.com" target="_blank">GitHub Repo</a></li>
</ul>
</li>
<li>
<input type="checkbox" id="task3">
<label for="task3">Study CIPP</label>
<ul class="sub-item">
<li><a class="sub-item-link" href="https://learning.ippeducation.co.uk" target="_blank">Study CIPP</a></li>
</ul>
</li>
<li>
<input type="checkbox" id="task4">
<label for="task4">Do more Coding</label>
<ul class="sub-item">
<li><a class="sub-item-link" href="https://www.freecodecamp.org" target="_blank">freeCodeCamp</a></li>
</ul>
</li>
</ul>
</body>
</html>
/* file: styles.css */
/* file: styles.css */
body{
color: olive;
}
a{
text-decoration:none;
color: darkblue;
}
.sub-item-link:visited{
color:blue;
}
.sub-item-link:hover{
color:red;
}
.sub-item-link:focus{
outline:purple;
}
.sub-item-link:active{
color:green;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36 Edg/142.0.0.0
Challenge Information:
Build a Stylized To-Do List - Build a Stylized To-Do list
https://www.freecodecamp.org/learn/full-stack-developer/lab-stylized-to-do-list/build-a-stylized-to-do-list