Advanced JS Fundamentals to jQuery & Pure DOM Scripting Exercise 1: Making a Tag Library
Transcript from the "Exercise 1: Making a Tag Library" Lesson
[00:00:48] So, essentially, take maybe like an array of tag names, generate an h1 function, that creates an h1 element, that creates the anchor element. And you'll have to use kind of similar techniques that we just used to fix the for-loop problem. So are other questions about this? Yeah.
[00:01:43] It's hard for me. The counter example is, in some ways, a nice use of it because I created a function that you can just call and it increments itself, almost like using a generator pattern. Hey, call this outer counter function, and I'll give you an inner function that counts.
[00:02:29] And we're here for questions for, I guess, 15 minutes, and then we'll give the solution. But if you're struggling or you even have questions right now, ask them and we'll try to help guide you through this example.