Build a Stylized To-Do List - Build a Stylized To-Do list

Tell us what’s happening:

Keep failing number 12 all anchors should have text. Not sure what I’m 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 ="styles.css"/>
</head>
<body>
    <section>
        <h1>Goins Construction</h1>
    <ul class="todo-list">
<li><input type="checkbox"
id="new-construction">
<label for="new-construction"> New Construction </label>
<ul class="sub-item">
    <li><a 
    class="sub-item-link"
    href="https://wwe.google.com"
    target="_blank">New Homes</li></a></ul>
<li><input type="checkbox"
id="remodel">
<label for="remodel">Remodel</label>
<ul class="sub-item">
    <li><a 
    class="sub-item-link"
    href="https://www.google.com"
    target="_blank">Update Existing</li></a></ul>
        <li><input type="checkbox"
id="custom">
<label for="custom">Custom</label>
<ul class="sub-item">
    <li><a 
    class="sub-item-link"
    href="https://google.com"
    target="_blank"> Tables,Cabinets and More </li></ul>
<li></a><input type="checkbox"
id="estimate">
<label for="estimate"> Estimate </label><ul class="sub-item">
    <li><a
    class="sub-item-link"
    href="https://www.google.com"
    target="_blank"> Get A Free Quote </li></a></ul>
    </section>

</body>


</html>
/* file: styles.css */
a:visited{ color:green;}
a:hover{ color:red;}
a:focus{ color:blue; outline:black;}
a:active{ color:orange;}
a{text-decoration:none;}
h1{text-align:center; color:grey;}
label{color:silver;}

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Mobile Safari/537.36

Challenge Information:

Build a Stylized To-Do List - Build a Stylized To-Do list

Hi @johnkgoins2400

Try placing the closing anchor tag after the text.

I indented your code below to show the nesting.

Happy coding

The anchor element’s closing tag should be before the closing tag of list element.