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

Tell us what’s happening:

in “Build a Stylized To-Do List” i cant finish 3. / 4. for no reason since i’ve ask some friends of mine and test code in CVS and theres no mistakes. im doing it perfectly.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">

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

<body>
    <ul class="todo-list"><li input type="checkbox"</li>
    <li></li><li></li><li></li>
        
    </ul>

</body>

</html>
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36

Challenge Information:

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

Welcome to the forum @diogopinheiro300 !

Is that a valid li opening tag? Is that the way we write an HTML input element?

HTML li tag
HTML input tag

It looks like there’s a small syntax error in your list item. You’ve placed the input attribute inside the <li> opening tag. Remember that <input> is a separate element that should be nested inside the <li> tags like this: <li><input type="..."></li>.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.