Tag: vanilla-javascript

LocalStorage In JavaScript: A Complete Guide

localStorage in JavaScript: A complete guide

Dev

`localStorage` in JavaScript is a simple and efficient way to store and retrieve data without relying on cookies.

Nosa Obaseki
Feb 28, 2024 ⋅ 9 min read
How To Use Import Attributes In Typescript And Javascript

How to use import attributes in TypeScript and JavaScript

Dev

Import attributes are gaining traction in JavaScript and TypeScript. Let’s explore how they improve app efficiency, stability, and security.

Ukeje Goodness
Jan 3, 2024 ⋅ 6 min read
Using WebGPU to Accelerate ML Workloads in the Browser

Using WebGPU to accelerate ML workloads in the browser

Dev

Dive into the mechanics of WebGPU, understand its implications for GPU computing, and unlock the potential of running ML models directly within web apps.

Muhammed Ali
Dec 27, 2023 ⋅ 4 min read
Using CSS ScrollTimeline to Create Scroll-linked Animations

Using the ScrollTimeline API for scroll-linked animations

Dev

CSS scrollTimeline introduces a new way to add scroll-linked animations to your webpage. Use and compare it to the Web Animations API here.

Joe Attardi
Dec 27, 2023 ⋅ 4 min read
Mastering Modulo Operator JavaScript

Mastering the modulo operator in JavaScript: A complete guide

Dev

We investigate how the modulo operator works in JavaScript and explore several real-life applications, like cyclic patterns and animations.

Timonwa Akintokun
Dec 8, 2023 ⋅ 7 min read
Nesting web components in vanilla JavaScript

Nesting web components in vanilla JavaScript

Dev

Web components are underrated for the performance and ergonomic benefits they provide in vanilla JS. Learn how to nest them in this post.

Mark Conroy
Dec 5, 2023 ⋅ 10 min read
Implementing Advanced Features With The Navigator.Share API

An advanced guide to the Web Share API and navigator.share()

Dev

Explore advanced capabilities for content sharing with the navigator.share method, including dynamic content sharing, custom share targets, and batch sharing.

David Omotayo
Nov 29, 2023 ⋅ 10 min read
8 Tips To Reduce Unused Javascript

8 tips to reduce unused JavaScript

Dev

Knowing how to reduce unused JavaScript can help you save time, optimize performance, and improve efficiency.

Abhinav Anshul
Nov 27, 2023 ⋅ 5 min read
Choosing The Right Sorting Technique For Your Next Javascript Project

Choosing the best JavaScript sorting algorithm for your project

Dev

Let’s discuss how to use sorting techniques effectively in JavaScript projects, like insertion sort, quicksort, and more.

Ukeje Goodness
Oct 26, 2023 ⋅ 11 min read
Creating Contrast Themes CSS Creating Prefers-Contrast JavaScript

Creating contrast themes with CSS prefers-contrast and JavaScript

Dev

We use CSS prefers-contrast to control website contrast and build a contrast theme selector with JavaScript to address OS limitations.

Cristian Diaz
Oct 25, 2023 ⋅ 11 min read
An introduction to the Web Preferences API

An introduction to the Web Preferences API

Dev

The new Web Preferences API proposal aims to change the way we set light and dark modes at the browser level. Learn all about the proposal.

Ebenezer Don
Oct 19, 2023 ⋅ 5 min read
Build AI Chatbot FastChat

Build an AI chatbot with FastChat and JavaScript

Dev

In this article, we explore how to use FastChat to implement a simple AI chatbot in a JavaScript web app.

Rosario De Chiara
Oct 6, 2023 ⋅ 5 min read