Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed DOM Scripting By Example!
You have completed DOM Scripting By Example!
Preview
Let's allow users to mark off when guests respond that they intend to come to the party.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
When we create the list item,
in the submit handler,
0:00
this list item should not only
have the text but a check box too.
0:00
Now we've already created and appended
list items to the un-ordered list element,
0:03
so this will be similar, though it will
want to associate a label with a check box
0:08
so users will know what it's for So
0:13
first right under where we created
the list item and set it text content.
0:15
Let's create the label with const
label = document.createElement.
0:20
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up