Tag: HTML

Recent Post

Input Form Field Suggestions with HTML and JavaScript

Input suggestions can be coded with HTML only and options populated with JavaScript.

Social Media Share Buttons with Vanilla JavaScript

Share with vanilla JavaScript by constructing URL requests to social media APIs.

Conditionally load a JavaScript file

By creating a new JavaScript file from scratch or reappend an existing one.

Download Progress Bar with Axios

Learn how to track progress and upload a CSS progress bar.

Build a Visitor Counter with JavaScript & Node.js

The counter tracks visits and pageviews independently with a simple backend.

How to wait until a page has loaded in JavaScript

Learn about event that allow you to run code upon the completion of page loading states.

Insert an element or HTML block before or after an existing element

Using the insertAdjacentElement() or insertAdjacentHTML() methods.

Typewriter typing effect with JavaScript

Make text appear on screen as if it is being typed live using the setInterval() function!

Styling HTML Elements with JavaScript

JavaScript can style HTML elements directly or indirectly via the class attribute.

Using HTML data attributes in JavaScript and CSS

Data attributes allow you to store string data directly on HTML elements.