Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
iwgpnjvycw
8,577 PointsNot sure why my input boxes aren't getting created when I hit 'Add'.
When I hit 'Add' the checkboxes, Edit buttons, and Delete buttons are getting created, but not my taskInput value. I'm on the Interactive Web Pages with JavaScript: Creating Elements.
javascript
var taskInput = document.getElementById("new-task"); //new-task
var createNewTaskElement = function(taskString) {
//Add a new task
var addTask = function() {
console.log("Add task...");
//Create a new listitem with the text from #new-task:
var listItem = createNewTaskElement(taskInput.value);
//Append listItem to incompleteTasksHolder
incompleteTasksHolder.appendChild(listItem);
bindTaskEvents(listItem, taskCompleted);
}
Ella Ruokokoski
20,881 PointsElla Ruokokoski
20,881 Pointsplease provide your code and a reference to which task or video this question is referring to.