Making Changes to the DOM
Getting and Setting Text with textContent and innerHTML
i don't know why he use this () => on the code, any know know what this does?
That's part of "arrow function" syntax.
It indicates the beginning of the definition of an anonymous function that takes no parameters.
For more details, see the MDN page on Arrow Functions.
Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.
I forgot my password