UI / UX
November 25, 2019
Checking whether Page is Opened / Active in Browser Tab
The Page Visibility API can be used to check whether a browser tab is active or not, i.e. if the page is in view or hidden from view.
November 23, 2019
Improving〈canvas〉Performance with OffscreenCanvas (VIDEO)
Performance of the 〈canvas〉element can be greatly improved using the newly introduced OffscreenCanvas. This can offload canvas logic and rendering to a background process rather on the main browser thread.
November 22, 2019
Creating HTML Tables with Fixed Header on Scroll using position: sticky CSS
November 21, 2019
HTML Tags to Represent Programing Code
The 〈code〉, 〈kbd〉, 〈samp〉 and 〈var〉 HTML tags can be used to represent programming and code information in a webpage.
November 20, 2019
How to Get List of All Google Fonts using PHP
The list of all Google Fonts can be retrieved using the Google Fonts Developer API.
November 18, 2019
November 17, 2019
November 16, 2019
List of nodes returned by querySelectorAll() can be looped through using the forEach() method of the returned NodeList object.
November 15, 2019
Differences between 〈script type=module〉and〈script〉
November 14, 2019
Difference Between Pseudo-Class and Pseudo-Element in CSS
Pseudo-class and pseudo-element are both CSS selectors, however pseudo-class represents a virtual CSS class, whereas pseudo-element represents a virtual HTML element.
November 13, 2019
Options of a dropdown select element can be looped over its options property. This property gives a list of all option elements inside it.
November 12, 2019
How to Change Placeholder Color for Textboxes
Color of the text specified by the placeholder attribute in input fields can be changed using the ::placeholder CSS selector.
November 10, 2019
What is script type=module ?
November 9, 2019
How to Prevent Disqus Comments System from Slowing Page Speed & Performance
Loading Disqus' script files and comments on page load can lower down speed and performance of the page, specially in mobiles. A solution would be to use an Intersection Observer to lazily load Disqus.
November 6, 2019
November 4, 2019
November 2, 2019
How to write Immediately-invoked / Anonymous Async Functions (IIFE)
An anonymous async function can be defined using the Immediately-invoked Function Expression pattern for asynchronous functions.
October 31, 2019
October 30, 2019
How to Implement Click to Call Feature in Web Pages
Click to Call functionality in web pages can be implemented using the tel: schema inside a hyperlink. Clicking on such a link would open the Dialer App on the device.
October 28, 2019
© UsefulAngle.com 2016 - 2020. All code MIT license.
UsefulAngle on Twitter
UsefulAngle on Facebook