Loading External Javascript Files with Javascript
Loading Javascript files dynamically is beneficial because it improves the loading time of the page. It can be done by appending a new script tag in the html.
Offline / Online Detection with Javascript
With a lot of stress on "offline mode for web applications", applications need to know when the user has gone offline. They also need to know when the user comes back online again.
How to Create a Parallax Scrolling Effect with CSS
Parallax effect is one of the simplest ways to give an elegant look to your webpage. This effect can be achieved with the background-attachment CSS property.
Text to Speech with Javascript
In modern browsers text to speech feature is built natively in them. This means that you don't need external plugins or APIs to convert text to speech !
Resizing Images in Node.js
The Sharp Node.js module can be used to resize large images of any common file-type to web-friendly images of any dimension. It claims to be multiple times faster than ImageMagick and GraphicsMagick.
How to Install LAMP (Linux, Apache, MySql & PHP) on AWS EC2 with Ubuntu 18.04
In this article step-by-step process is discussed to setup LAMP stack in AWS EC2, with Ubuntu 18.04 as the operating system.
Node.js - Reading a File Line by Line
In some cases you may need to read a file, line by line, asynchronously. This can be done by the Readline module that reads data from a readable stream and emits an event after reading each line.
How to Enable Annotations in PDF.JS
Annotations data, such as links, can be shown in the rendered PDF canvas using getAnnotations and PDFJS.AnnotationLayer.render methods.
Getting POST Parameters in Node.js
POST parameters can be read with the querystring module. In case of a multipart/form-data POST request, external modules are required.
Browser Rendering Optimization - Free Course Offered by Google
Google is offering a free video course on Browser Rendering Optimization. This course is about changing the way you approach performance issues for web applications.
Getting URL Parameters in Node.js
You can get url parameters in Node by importing the built-in "url" module. This module gives access to the URL and URLSearchParams objects.
How to Enable Text Selection in PDF.JS
By default PDF.JS does not enable text selection in rendered PDFs. To enable text selection, another method needs to be called that renders the PDF text in a separate text layer.
Routing in Node.js (without framework)
Frameworks such as ExpressJS makes routing quite easy. But initially it is important to understand how routing works in Node.js, and not to jump to ExpressJS straightaway.
Creating a Simple HTML Editor with Javascript
This tutorial shows how you can create a simple WYSIWYG HTML editor with Javascript, somewhat like a mini version of the famous TinyMCE HTML editor.
Javascript - Previewing PDFs During Upload
The very useful PDF.JS library makes it possible to show a preview of the PDF before uploading to server.
Javascript - Previewing Images During Upload
Showing a preview of the image before being uploaded to server provides a good user experience. You can show a preview image using the URL.createObjectURL method on the selected file.
Typewriter Animation with Pure CSS
This tutorial discusses the concepts behind achieving typewriter effect with CSS, with no Javascript involved.
The Useful <time> HTML Element
The time tag defines date and time in a HTML document. This tag is helpful in making the markup more structured, so that it becomes easier for machines to interpret the page.
Manipulation of HTML Select Element with Javascript
This tutorial explains how you can perform common operations on select element with vanilla Javascript - adding/deleting options or getting/setting the selected options.
Pure Javascript - Replacing an Element
replaceChild and replaceWith methods can be used to replace an element with pure vanilla Javascript.