Closed rrgayhart closed 7 years ago
for
loop were both things I already knew. .pipe()
method, although I will work on that this week between now and the beginning of classes.
1. What is something you learned that was particularly surprising/interesting? It is interesting that in javascript a variable is implicitly global if it does not begin with 'var'. Why wouldn't they just use the syntax without the 'var' all the time since that means it is a global variable. 2. What was something you already knew? A lot of the information was similar to other information we have learned in other articles. 3. Was there anything you feel you still don't understand? The call vs. apply methods were a little confusing as to why you would want to use them at all and not just pass what you want to pass into the function.
.on
. I've already seen multiple places in idea box where this would have been helpful. I also didn't know there were so many listeners.1. What is something you learned that was particularly surprising/interesting? I didn't know you could clone elements. Seems pretty helpful if you only need to make a slight change to a complex element and then place it in the document.
2. What was something you already knew? I knew about AJAX and its asynchronicity from my Module 3 personal project. It was good to review it again for Idea Box, though.
3. Was there anything you feel you still don't understand? I understand how event bubbling works, but I am interested in what to watch out for since the event bubbles up all the way to the document level. Seems like it could be dangerous if you're looking at events at the grandparent level where an event source could become ambiguous.
Also, do animations run asynchronously? Are there any issues to look out for with triggering more than one animation at a time?
What is something you learned that was particularly surprising/interesting?
Jquery has methods that can generate HTML with $()
$( '<p>', {
html: 'Hello!',
'class': 'greet'
});
this
is handled. This can affect you jQuery
From Bocoup's jQuery Fundamentals.
Respond in the comments of this issue with:
Feel free to ask any questions about jQuery fundamentals here as well.