Quiz
- I'm not actually sure how to run or access javascript on my computer, so going over that would be helpful
Good question. I'll demo that now, and I'll make a video for the future.
- I would like to talk more about adding JS files as sources on pages. / integrating Javascript into HTML,
That's done with the
script
tag. We can do a "view source" on almost any web page to see an example. - I am a little confused about how to connect an external JavaScript file to an HTML file and how that can be applied in real life. I think it would be helpful to show some examples to see how that works in class.
In just one week, we'll be able to do things like this: click example. To do that, we first have to learn about the DOM and event handlers. We'll get there.
- Why anonymous functions are important and when they are used.
/ I would like to talk more about anonymous functions, I am not quire sure I understand how to use them yet.
/ Advanced functions, more specifically when would we need to use each on of them/what makes them different/special.
/ I think the new ideas of anonymous functions, methods that take functions as arguments, and arrow functions!
/ Anonymous functions and when it's best to use them.
/ passing anonymous functions
/ Practice with anonymous functions and ways we should utilize javascript in our project
- I would like to learn more about the MAP method as well as first class function. / , and the MAP method
/ I would love to learn more about how arrays can have a .map(func) method in class. Specifically, how to take a function as an argument and how function can be an element of the array.
We'll do a lot with MAP today.
- I would like to talk more about the forEach() method, it confuses me. Thank you :)
We'll see some examples at the end of today. We have some other things to do first.
- I think I could use more clarification on first class functions and anonymous functions. I understand (I think) when to use each one and the basic pros and cons of them. Some practice with replacing for loops would also be helpful. I usually lean on for loops a fair amount when coding, so it'll take me some practice to fix that.
We'll use
forEach
to replace loops.