Spelling error in line 217

pull/185/head
Ashwin Anil 4 years ago committed by GitHub
parent 07143be3b7
commit 67bee2678f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -214,7 +214,7 @@ const titles = document.querySelectorAll('h1')
titles[3].textContent = 'Fourth Title' titles[3].textContent = 'Fourth Title'
``` ```
#### Adding Text Content using innHTML #### Adding Text Content using innerHTML
Most people get confused between _textContent_ and _innerHTML_. _textContent_ is meant to add text to an HTML element, however innerHTML can add a text or HTML element or elements as a child. Most people get confused between _textContent_ and _innerHTML_. _textContent_ is meant to add text to an HTML element, however innerHTML can add a text or HTML element or elements as a child.

Loading…
Cancel
Save