Tag: vanilla-javascript

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
Getting Started With LangChainJS

Getting started with LangChainJS

Dev

Build AI-powered applications using LangChainJS, the JavaScript library that makes it easy to interact with large language models.

Mohammad Faisal
Sep 29, 2023 ⋅ 7 min read
Guiding User Focus With Driver Js

Using the Driver.js library to guide user focus

Driver.js is a small and compact vanilla JavaScript library that provides an easy way to add such a feature tour to your site or app.

Ivaylo Gerchev
Sep 27, 2023 ⋅ 17 min read
Comparing Schema Validation Libraries: Zod Vs. Yup

Comparing schema validation libraries: Zod vs. Yup

Dev

Compare schema validation libraries, Zod and Yup, in terms of validating common data patterns such as primitives, objects, and arrays.

Nathan Sebhastian
Sep 5, 2023 ⋅ 9 min read
Understanding async context and the future of server-side JavaScript

Understanding async context and the future of server-side JavaScript

Dev

Learn about the Async Context API, currently a stage 2 ECMAScript proposal that stands to alter the future of server-side JavaScript.

Ebenezer Don
Aug 22, 2023 ⋅ 7 min read
A guide to the four new Array.prototype methods in JavaScript

A guide to the 4 new Array.prototype methods in JavaScript

Dev

Four new Array.prototype methods were recently approved as part of ECMAScript 2023. Read about how to use them in this detailed guide.

Ohans Emmanuel
Aug 2, 2023 ⋅ 6 min read