current location:Home > Technical Articles > Web Front-end > JS Tutorial

  • Vue.js or Nuxt.js?
    Vue.js or Nuxt.js?
    Vue.js is a user-friendly JavaScript framework that provides a powerful toolset for building user interfaces. Nuxt.js is based on Vue.js and adds server-side rendering, static website generation, and easy integration with various plugins. Continue reading this article to explore the benefits of both technologies and learn how to choose the right one based on your project needs. Vue.js Vue.js is a JavaScript framework for building user interfaces. It provides a declarative, component-based programming model using standard HTML, CSS, and JavaScript. Key features that make Vue.js efficient include: Declarative rendering: Vue usage
    JS Tutorial 791 2025-01-17 16:28:10
  • Why &#this&# in JavaScript Differs from Other OOP Languages
    Why &#this&# in JavaScript Differs from Other OOP Languages
    JavaScript's this keyword often causes confusion, especially for developers coming from languages like C#, Java, or Python where self consistently refers to the current object instance. Unlike those languages, JavaScript's this is dynamic, its value
    JS Tutorial 758 2025-01-17 14:34:12
  • Flip Love Cards Purpose Animation Video with code
    Flip Love Cards Purpose Animation Video with code
    JS Tutorial 861 2025-01-17 14:32:10
  • Running Kokoro- ONNX TTS Model in the Browser
    Running Kokoro- ONNX TTS Model in the Browser
    Advances in artificial intelligence and machine learning have significantly expanded the boundaries of what is possible within the browser. Running text-to-speech (TTS) models directly in the browser opens new opportunities for privacy, speed, and convenience. In this blog post, we will explore how to run the Kokoro-82M ONNX TTS model in a browser using a JavaScript implementation. If you’re curious, you can test it out in my demo: Kitt AI Text-to-Speech . Why run TTS models in the browser? Traditionally, TTS models are executed on a server and require an Internet connection to send input and receive synthesized speech. However, with WebGPU and ONNX.js capabilities
    JS Tutorial 1062 2025-01-17 14:31:10
  • Animation with New Logo Unlocked!!!!
    Animation with New Logo Unlocked!!!!
    Interactive Channel Logo
    JS Tutorial 237 2025-01-17 14:30:15
  • Unleashing AI Agent Potential with Tavily Search in KaibanJS
    Unleashing AI Agent Potential with Tavily Search in KaibanJS
    In the dynamic landscape of AI development, access to timely and reliable information is paramount. KaibanJS, a cutting-edge JavaScript framework for building multi-agent systems, provides developers with the tools to create collaborative AI workflo
    JS Tutorial 326 2025-01-17 10:28:12
  • How to build an Astro collection loader
    How to build an Astro collection loader
    Astro's 1.14 release introduced the Content Layer API, extending content collections beyond local files. While Astro provides loaders for common data sources (RSS, CSV, etc.), creating custom loaders is straightforward. This guide demonstrates buil
    JS Tutorial 207 2025-01-17 08:35:09
  • Daily JavaScript Challenge #JS- Sort an Array of Objects by Property
    Daily JavaScript Challenge #JS- Sort an Array of Objects by Property
    Daily JavaScript Challenge: Sort Array of Objects by Property Hello everyone! ? Welcome to today’s JavaScript coding challenge. Let’s keep our programming skills sharp together! challenge Difficulty: Medium Topic: Arrays and Sorting describe Given an array of objects, each object contains two properties: 'name' (string) and 'age' (integer). Write a function that sorts the array in ascending order based on the 'age' property. If two objects have the same age, their original order is maintained in the sorted array. Ready to get started? https://www.dpcdev.com/ Copy this challenge Write your solution root
    JS Tutorial 889 2025-01-17 08:33:08
  • How to Automate Kafka Topic Creation and Deletion, Using GitHub Actions and JavaScript
    How to Automate Kafka Topic Creation and Deletion, Using GitHub Actions and JavaScript
    Automating Kafka topic creation and deletion is crucial for developers using event-driven architectures. Manual management becomes impractical as your Kafka deployment scales, whether you're dealing with a growing system or implementing infrastructu
    JS Tutorial 794 2025-01-17 08:32:09
  • How to use Astro with Hono
    How to use Astro with Hono
    Astro: A powerful web framework, my current favorite. Its versatility makes it ideal for a wide range of projects. However, for API development, Hono stands out. Hono: A simple, portable API framework with a user-friendly RPC system (resembling tRPC
    JS Tutorial 337 2025-01-17 08:31:10
  • WebGPU tutorial: compute, vertex, and fragment shaders on the web
    WebGPU tutorial: compute, vertex, and fragment shaders on the web
    WebGPU is a global technology that promises to bring cutting-edge GPU computing capabilities to the web, benefiting all consumer platforms using a shared code base. Although its predecessor, WebGL, is powerful, it seriously lacks compute shader capabilities, limiting its application scope. WGSL (WebGPU Shader/Compute Language) draws on best practices from areas like Rust and GLSL. As I was learning to use WebGPU, I came across some gaps in the documentation: I was hoping to find a simple starting point for using compute shaders to compute relevant data for vertex and fragment shaders. Single-file HTML for all the code in this tutorial is available at https://githu
    JS Tutorial 918 2025-01-17 08:30:10
  • Fixing Nasty Bugs(Understanding Modals) - Part 1
    Fixing Nasty Bugs(Understanding Modals) - Part 1
    Debugging an Annoying Bug in a Next.js Project Sometime last week, I began working on a new project primarily built with Next.js and styled using the Shadcn component library. While building, I encountered a particularly annoying bug that not o
    JS Tutorial 389 2025-01-17 08:29:08
  • string.indexOf() under the hood
    string.indexOf() under the hood
    Hello, developers! Today, I tried to implement the indexOf() method from scratch. So far I've found the following: function myIndexOf(string, target, start = 0) { let l = target.length; //Adjust starting index if it is negative if (start < 0) { start = string.length start; } // Make sure the starting index is within the string length range if (sta
    JS Tutorial 184 2025-01-17 08:27:08
  • The Perfect React-TypeScript Starter Template for your Vite projects
    The Perfect React-TypeScript Starter Template for your Vite projects
    Link: react-ts-starter This Vite-React starter kit is designed to jumpstart your next project! Show your appreciation by starring the GitHub repository if you find this helpful! ⭐ Here's what's included: Optimized project structure Pre-configured Ta
    JS Tutorial 523 2025-01-17 04:35:09
  • Routing in Next.js – How to Use App Router in Your Next Apps
    Routing in Next.js – How to Use App Router in Your Next Apps
    Next.js 14's App Router revolutionizes route management with its file-based routing system within the app/ directory. This approach promotes better application structure, modularity, and performance. This guide outlines effective App Router implemen
    JS Tutorial 920 2025-01-17 04:33:12

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28