getElementByClass JavaScript Function?

The getElementById is a very common JavaScript function that returns a reference to the element by its ID, but unfortunately when we try to use getElementByClass, the console returns the following error: Uncaught TypeError: document.getElementByClass is not a function.

In this article I’m going to present two workarounds to replace the getElementByClass JS function, with or without using jQuery.
Continue reading “getElementByClass JavaScript Function?”

Top 18 Free HTML5 Templates To Start Your Online Business

There are many ways to launch your own website. Modern market is full of developers, builders, and ready-made templates that can help you to start an online way. The reason why so many people are trying to get their biz online is that the Internet is full of the potential customers. Here you have tons of opportunities to represent your biz, showcase it in the best possible light, and to spread a word about your skills.

Continue reading “Top 18 Free HTML5 Templates To Start Your Online Business”

A Very Simple Popup Box – HTML, CSS, JavaScript

Popup boxes are the most useful way of showing a warning or any other important information to the website visitors in many HTML5 templates. In this article I’m going to walk you through the creation of a very simple popup box with shadow overlay and close button. We’re going to implement this using HTML, CSS and jQuery in less than 100 lines (not compressed code).

simple popup box html css js
Continue reading “A Very Simple Popup Box – HTML, CSS, JavaScript”

Income Tax calculator with AngularJs

This post is a short tutorial about how easily you can build a tax calculator with the help of the old but powerful AngularJs.  (Please note: AngularJs is not the same as Angular) Yes I know, I’m talking about  Angular 1 (aka AngularJs), and Angular 5 has just been released, so who the heck is using AngularJs nowadays? Well, you’d be surprised how many companies are still using it: This is the first article of the full tutorial, where we’ll outline the structure of the functions that will perform the calculations, and then in the next section we’ll take a more in-depth look at how these functions will perform the calculations in a nice harmony together and how they will render the results on the frontend.

Continue reading “Income Tax calculator with AngularJs”