Category: JavaScript

Browse all content filed under the "JavaScript" category.

Snippet

Snap! SVG Animation with Mouseover

This code uses Snap.svg to create a simple animation. A circle changes color on mouseover and reverts on mouseout.

Language: javascript

Published: August 3, 2025

Snippet

Uppy: The Sleek, Modular, and Resilient JavaScript File Uploader

Uppy is a modern, highly modular JavaScript file uploader designed for integration into any web application. Its key features include a sleek UI (Dashboard), support for local files and remote sources (like Google Drive, Dropbox, and Instagram), and image editing capabilities.  

Language: JavaScript, TypeScript  

Published: August 1, 2025

Snippet

Mastodon: A Decentralized Vision for a People-Powered Social Network

Mastodon is presented as a radically different kind of social network. It is not a single website, but a federated network of thousands of independent servers (instances) that can all communicate with each other. Its core philosophy is that it is decentralized, open-source, and not for sale. User timelines are chronological, with no ads or algorithms.  

Language: Ruby (on Rails), TypeScript, JavaScript

Published: August 1, 2025

Snippet

The Developer-First Headless CMS for Maximum Flexibility

Strapi is presented as a leading "headless" CMS, placing it in direct contrast to traditional systems like WordPress. The "headless" concept means Strapi manages content and delivers it via an API, leaving developers free to use any frontend technology they prefer, such as React, Vue, or Next.js.

Language: JavaScript, TypeScript

Published: August 1, 2025

Snippet

Strapi: The Developer-First Headless CMS for Maximum Flexibility

Strapi is presented as a leading "headless" CMS, placing it in direct contrast to traditional systems like WordPress. The "headless" concept means Strapi manages content and delivers it via an API, leaving developers free to use any frontend technology they prefer, such as React, Vue, or Next.js.

Language: JavaScript, TypeScript

Published: July 27, 2025

Snippet

php,api,gemini,json,random,astrology,data

This function calculates the sum of all numbers within a JavaScript array. It handles empty arrays gracefully and non-numeric elements.

Language: javascript

Published: July 27, 2025

Snippet

Gemini Test for a Simple JavaScript Function

This Gemini test suite verifies a basic JavaScript function that adds two numbers. It uses assertions to check for correct results.

Language: javascript

Published: July 25, 2025

Snippet

How to Verify Element Presence in a JavaScript Array

This snippet checks if an array contains a specific element. It returns true if found, false otherwise.

Language: javasecript

Published: July 24, 2025

« Previous 1 2 Next »