JavaScript tips and tricks

February 16th, 202551130 Use objects/classes to encapsulate your application logic and try not to pollute the global variable scope as this can cause frustrating problems such as libraries not...

Useful JavaScript globals

February 12th, 20256843 Math.random() - generates a randon number between 0 and 1. You can multiply the number to get a number in a different range. Math.floor(numberHere) - it would trim...

JavaScript tips and tricks, Part 2

February 9th, 20253887 Minifying your code makes it smaller in size which increases the website’s loading speed, which increases the ranking of the website in search engine and so on. There...
Page 2 of 212