I have a question about this assignment. I haven't code for 2 weeks now and I'm totally confused.
I feel like I am reading Chinese at the moment. Please don't post answers of the assignment, I only want to understand what is going on in here.
In previous task I created variable called
toAdd which is there to save input that user makes.
Now I need to append values that user inputs into
div class = "list". But then comes some div class called
item that doesn't exists yet but it is there to help us delete items later I guess. And at the end comes assignment :
Go ahead and .append() a <div> with class="item" to the .list div of your HTML document.
So I am appending div that doesn't exists to the div that I have with a variable
tooAdd where inputs are saved. Example of something like this is :
'<div class="item">' + toAdd + '</div>' . My brain blocked. It is simple but at the moment for me it isn't.