What is innerHTML?
innerHTML is one of the most useful properties of a webpage, specifically, of the DOM (Document Object Model). JavaScript gives us access to the innerHTML property which means that we can read, edit or replace webpage content on the fly. We can even add more content or change styles dynamically without having to embed a framework or library such as jQuery, AngularJS, Bootstrap... InnerHTML has been around for over a decade and it is recognized by all modern browsers. This simple property needs to be known by every web developer, professional or amateur.
In this eBook you will learn how to embed JavaScript in your HTML and use the innerHTML property to build some cool and useful interactive paragraphs. This is by no means a complete course on innerHTML, but it will start you off on the right foot and open new doors for understanding JavaScript and HTML technology.
This short and sweet hands on lab work may just be the right boost you need to upgrade your JavaScript skills to a total new level.
Skill level required: A very basic knowledge of HTML tags and JavaScript syntax.
innerHTML is one of the most useful properties of a webpage, specifically, of the DOM (Document Object Model). JavaScript gives us access to the innerHTML property which means that we can read, edit or replace webpage content on the fly. We can even add more content or change styles dynamically without having to embed a framework or library such as jQuery, AngularJS, Bootstrap... InnerHTML has been around for over a decade and it is recognized by all modern browsers. This simple property needs to be known by every web developer, professional or amateur.
In this eBook you will learn how to embed JavaScript in your HTML and use the innerHTML property to build some cool and useful interactive paragraphs. This is by no means a complete course on innerHTML, but it will start you off on the right foot and open new doors for understanding JavaScript and HTML technology.
This short and sweet hands on lab work may just be the right boost you need to upgrade your JavaScript skills to a total new level.
Skill level required: A very basic knowledge of HTML tags and JavaScript syntax.