#javascript

[ follow ]
#bot-detection
#web-development
from2ality
1 month ago
Web development

Learning web development: numbers, variables, functions in JavaScript

from2ality
1 month ago
Web development

Learning web development: numbers, variables, functions in JavaScript

fromSitePoint Forums | Web Development & Design Community
3 days ago

Need to access all but current button in a grid array of buttons

I'm new here and fairly new to JavaScript, so please bear with me. I've been converting a working python program to JavaScript with varying degrees of success. It's a fairly simple 8x8 button panel that modifies the button text when toggled. So far that works. However, some of the buttons are in "groups" that work like a mechanical switch that clears the other buttons in the group when a new one is selected.
JavaScript
JavaScript
fromInfoWorld
5 days ago

9 vital concepts of modern JavaScript

Mastering modern JavaScript fundamentals—variables, collections, arrow functions, scope, and closures—enables confident work across client and server JavaScript ecosystems.
JavaScript
from2ality
6 days ago

Learning web development: Frontend frameworks

Use non-destructive JavaScript array and object operations and Preact to build frontend UI state safely without mutating original data structures.
#arrays
#functional-programming
#cookies
JavaScript
from2ality
1 week ago

Learning web development: Asynchronous JavaScript - Promises and async functions

Promises and async functions handle long-running JavaScript tasks; queues provide FIFO sequencing of values, and JavaScript executes code on a single thread.
#anti-bot
Online learning
fromeLearning
2 weeks ago

How to Use JavaScript for Smooth Scrolling in Adobe Captivate Long Scroll Projects - eLearning

Add smooth automatic JavaScript scrolling and navigation buttons to Adobe Captivate Long Scroll projects for seamless content-block transitions and optional actions like narration or animation.
fromOreilly
2 weeks ago

Modern JavaScript

ECMAScript is a standard for several scripting languages, including JavaScript. Since 2015, a new version of the ECMAScript spec has been published annually. These versions-ES6, ES7, and ES8, respectively-don't deprecate any old syntax, so you'll be able to safely run legacy ES5 code in future web browsers or standalone JavaScript engines, but they also include lots of new syntax elements that make the process of writing JavaScript code more productive.
Web development
from2ality
2 weeks ago

Learning web development: JSON and processing files in Node.js

JSON ("JavaScript Object Notation") is a way of encoding data as text - e.g., in text files. Its syntax is a subset of JavaScript. In other words: Each piece of JSON data is valid JavaScript source code - it's an expression. This is an example of a text file with JSON data: The syntax of JSON # The syntax of JSON works as follows:
JavaScript
JavaScript
from2ality
2 weeks ago

Learning web development: JavaScript Maps

Map stores key-value pairs allowing lookup, insertion, and existence checks, and can use objects as keys with strict (===) identity comparison.
Software development
from2ality
2 weeks ago

Learning web development: JavaScript exceptions

JavaScript classes create object instances invoked with new; use instanceof to test instances and Error.stack provides stack traces to locate runtime errors.
from2ality
2 weeks ago

JavaScript's trademark problem

During its lifetime, JavaScript has had several names: During development, its name was Mocha. In the Netscape Navigator 2.0 betas (September 1995), it was called LiveScript. In Netscape Navigator 2.0 beta 3 (December 1995), it got its most common name, JavaScript. Why that name? JavaScript was going to be a glue language for components written in Java. The first standard for JavaScript was published in 1997, hosted by Ecma International (called ECMA at the time).
Web development
Web development
from2ality
2 weeks ago

Learning web development: Plain objects in JavaScript

Plain JavaScript objects group related named data into properties for reading and writing; classList.toggle toggles a CSS class to show or hide DOM content.
Privacy technologies
fromZacks
2 weeks ago

Pardon Our Interruption

Enable JavaScript and cookies and disable blocking plugins or reduce automated browsing speed to regain access when the browser is mistaken for a bot.
JavaScript
from2ality
2 weeks ago

Learning web development: Modules and testing in JavaScript

Use export to expose values from a JavaScript module and import with relative paths or URLs to reuse code across files and run modules with Node.js.
fromAllthingssmitty
3 weeks ago

Understanding Promise.any(): when one success is enough - Matt Smith

Promises have long been our go-to when working with asynchronous code in JavaScript. If you've used Promise.all() or Promise.race() to coordinate async operations, you know the patterns. But what if you're only interested in the first successful result, ignoring failures? That's exactly what Promise.any() does: it fulfills with the first resolved promise and ignores any that reject (unless all reject).
JavaScript
from2ality
3 weeks ago

Learning web development: Loops in JavaScript

Loops are JavaScript statements that execute the same piece of code zero or more times. The most popular loop is for-of: The code block (in curly braces) that starts at the end of line A is called the body of the loop. This loop iterates over the array arr: First it assigns arr[0] to elem and runs the body. Then it assigns arr[1] to elem and runs the body. One execution of the body is called a loop iteration.
JavaScript
Web development
fromSubstack
3 weeks ago

Weekly JavaScript Roundup: Friday Links 26

A weekly JavaScript-focused roundup highlights new open-source projects, learning tools, technical guides, AI developments, and practical tutorials to keep developers informed and productive.
fromCSS-Tricks
3 weeks ago

3D Layered Text: Interactivity and Dynamicism | CSS-Tricks

This time, we're going dynamic. In this final chapter, we're stepping into the world of interactivity by adding JavaScript into the mix. We'll start by generating the layers programmatically, giving us more flexibility and cleaner code (and we'll never have to copy-paste divs again). Then, we'll add some interaction. Starting with a simple :hover effect, and ending with a fully responsive bulging text that follows your mouse in real time. Let's go.
JavaScript
fromTreehouse Blog
3 weeks ago

Python vs. JavaScript Comparison for 2025

If you already know JavaScript, learning Python will feel easier because many core concepts are the same. Both languages use similar data types (strings, numbers, lists/arrays, objects/dictionaries), functions with default parameters, and control flow (loops, conditionals). The biggest differences are in syntax: Python relies on indentation instead of curly braces, uses keywords like def instead of function, and is generally more concise. Your JavaScript knowledge gives you a strong head start-you'll just need to adjust to Python's style and rules.
JavaScript
JavaScript
fromInfoQ
3 weeks ago

Oxlint v1.0 Stable Released: A Rust Based JavaScript Linter

Oxlint 1.0 offers fast linting with extensive rule coverage and simple migration tools for both open-source and enterprise projects.
Web design
fromCSS-Tricks
4 weeks ago

3D Layered Text: The Basics | CSS-Tricks

A bulging text effect can be created using advanced CSS techniques along with JavaScript for interactivity.
fromSlicker
4 weeks ago

JavaScript tutorial - Minesweeper game

The board consists of rows and columns of tiles, some of which contain a mine. Initially all tiles are covered. The point of the game is to uncover all the tiles except the ones containing the mines.
Games
fromSmashing Magazine
1 month ago

The Power Of The Intl API: A Definitive Guide To Browser-Native Internationalization - Smashing Magazine

Internationalization involves more than just text translation; it encompasses formatting dates, pluralization, and sorting according to cultural expectations. The Intl API allows modern JavaScript to handle these tasks natively.
JavaScript
fromPractical Ecommerce
1 month ago

AI Crawler Optimization Tips

Generative AI platforms such as ChatGPT and Claude require websites to be crawlable by AI bots for effective mentions and citations. Disabling JavaScript improves crawlability, as many AI crawlers struggle with JavaScript rendering, which differs from Google’s capabilities. This means publishers must ensure essential content is accessible even without JavaScript. AI optimization tools like Aiso can evaluate and enhance a site's crawlability, providing suggestions for improvement. Site owners must also verify their robots.txt files to allow AI bot access, as many content management systems restrict bots by default.
Web development
[ Load more ]