The dimensions of the browser window can be determined using the followng width-height properties of the window object: window.innerWidth, window.innerHeight, window.outerWidth, and window.outerHeig...
The screen resolution of a device can be determined using the screen object. screen.width returns the width of the screen, while screen.height returns the height of the screen.
- Online HTML entity Generator
Online tool for generating HTML entities and converting HTML entities to text.
- Why the names btoa and atob for Base64 encoder decoder functions?
Why are they named btoa() and atob()? If you have ever needed to encode text to Base64 or decode a Base64 encoded string to plain text, you should be familiar with the methods btoa() and atob(). Thei...
The implementation of forEach loop is not compatible with promise and async functions. Use a for loop to work around this limitation.
substring() returns the characters of a string from a starting index to an end index, substr() on the other hand, returns an n number of characters from a starting index.