Build a Stylized To-Do List

Tell us what’s happening:

Hey, I am stuck getting 9-10 before 13-19 haha
Any help will be appreciated
Thank you

Your code so far


Lesson URL (copy - paste from your browser’s address bar)`

Styled-To-Do List

Hi @Rone1,

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Help button located on the challenge.

The Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

I’m still stuck, I couldn’t other examples on the forum, I’ll check again though

I have 11-12 correct

please use that process to create a forum post or post your code properly formatted and a link to the challenge; we can’t help with code we can’t read

There are two ways you can format your code to make it easier to read and test:

  1. After you copy/paste your code into the editor, select it by dragging your cursor over it then click the (</>) button in the toolbar to automatically wrap your code in backticks. (You can click on the animated demo image below to enlarge it.)

  1. Manually add three backticks on a new line above your code and on a new line after your code. Note that a backtick is NOT the same as a single quote('). To find the backtick key on your keyboard, see this post.

To see changes to your post as you make them, you can click the (M+) button on the toolbar to bring up the rich text editor:

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title>Styled-To-Do List</title>
</head>

<body>
<ul class="todo-list">
   <li class="todo-list"label for="todo-list"></label>
    <input type="checkbox"id="unique_identifier"><label for="unique_identifier">1</label><ul class="sub-item">
    <li class="todo-list"label for="todo-list"></label>
    <ul class="sub-item"><li>
    <a class="sub-item-link"href="google.com"target="_blank">link</a>
    </li>
    </ul>
    <input type="checkbox"id="unique_identifier"><label for="unique_identifier">2</label>
    <ul class="sub-item"><li>
    <a class="sub-item-link"href="google.com"target="_blank">link</a>
    </li>
    </ul>
    <li class="todo-list"label for="todo-list"></label><ul class="sub-item">
    <input type="checkbox"id="unique_identifier"><label for="unique_identifier">3</label>
    <li class="todo-list"label for="todo-list"></label>
    <ul class="sub-item"><li>
    <a class="sub-item-link"href="google.com"target="_blank">link</a>
    </li>
    </ul>
    <input type="checkbox"id="unique_identifier"><label for="unique_identifier">4</label>
    <ul class="sub-item"><li>
    <a class="sub-item-link"href="google.com"target="_blank">link</a>
    </li>
</ul>

</body>
</html>

I thought I had that way and now I know that if I cant see the code then I did something wrong

Please use this HTML Validator to check your code.

This will be “check/fix” iterative process.

If you check “source” after “Show”, it will show your code at the bottom with line numbers, highlighting errors.

If you still have questions after doing this, please ask here.

Happy coding

Your 1-13 is good now but your a elements shouldn’t have any text decorations

Please post your updated code if you need more help.

I went ahead and combined your posts for you. In the future, just reply to the original thread to add further updates.

Hi @Rone1,

Is your stylesheet linked in index.html?

Happy coding

Thank you
I’ll keep an eye out for that next time

what are you trying to do here? your li element is not closed, but you have a closing tag for label?

Hi @Rone1,

Please review this theory lecture about the importance of using an HTML boilerplate:
Understanding the HTML Boilerplate - What Is an HTML Boilerplate, and Why Is It Important? | Learn | freeCodeCamp.org

What is the purpose of the body element? Where should it go?

Update: Have you linked your stylesheet in index.html?

Happy coding

Please do not create duplicate topics for the same challenge/project question(s). If you need more help then respond back to the original topic you created with your follow up questions and/or your updated code and question.

The duplicate topic has been unlisted.

Thank you.

I did it again, my apologies

Please review our Code of Conduct, specifically Item #9 under Additional Rules:
Guidelines - The freeCodeCamp Forum

I finally picked up my href was wrong and I’m on 18. :ok_hand: