Hi all!
I was struggling with the projects so I decided I should do the recommended reading! I’m doing the full stack engineer course and I’m currently covering JavaScript. So, in the examples in the recommended reading, Duckett uses .textContent
instead of console.log
. I’m not sure what .textContent
means. I can gather that it prints to the console, but I was hoping for a bit more detail, and when and why one is used over the other.