In this video we will discuss replacing content using innerHTML.
Javascript code: http://pastebin.com/HDazmk1H
HTML code: http://pastebin.com/hkGLgApY
Original source
In this video we will discuss replacing content using innerHTML.
Javascript code: http://pastebin.com/HDazmk1H
HTML code: http://pastebin.com/hkGLgApY
Original source
6 responses to “JavaScript Tutorial for Beginners – 30 – Replace content using innerHTML”
Why changeText variable could be used twice? Would the second declaration replace the first one?
Thank you
Amazing!!! Incredible tutorials sir, it's a great pleasure to listen to you when you teach, everything becomes so easy to understand.
Sir, your tutotials are awsome. I really really really liked your videos
Define "inner html", please, so I can clearly understand what it is.Thanks!
I learnt HTML really hard at the beginning. Though I was proud of my hard work. Then, I did css. It was the most simple thing I ever coded and did ever. I loved your tutorials and how simple and good they were (I still do love your channel now don't worry) and then… I had Javascript. I was puzzled. I didn't like Javascript… Until… I found your javascript tutorial. Simple. Nice and easy and step by step. Thanks for getting me so far… And also I'm 9 and I love coding 🙂 Thanks for helping me.
-Kiteen