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

  • Up and Running with ESLint
    Up and Running with ESLint
    ESLint: Your JavaScript Code's New Best Friend This article explores ESLint, a powerful and adaptable JavaScript linter, highlighting its capabilities and benefits for developers. Linters automatically check code for potential problems, improving co
    JS Tutorial 325 2025-02-17 08:53:12
  • Build a Search Engine with Node.js and Elasticsearch
    Build a Search Engine with Node.js and Elasticsearch
    This article was peer-reviewed by Mark Brown, Vildan Softic and Moritz Kröger. Thanks to all the peer reviewers at SitePoint for making SitePoint’s content perfect! Elasticsearch is an open source search engine that is becoming increasingly popular due to its high performance and distributed architecture. This article will explore its key features and guide you how to use it to create a Node.js search engine. Key Points Elasticsearch is a high-performance distributed search engine built on Apache Lucene, mainly used for real-time indexing and searching data. The system is patternless and can automatically detect data structures and
    JS Tutorial 888 2025-02-17 08:47:09
  • Quick Tip: How JavaScript References Work
    Quick Tip: How JavaScript References Work
    Understanding JavaScript References: A Deep Dive Key Concepts: JavaScript uses pass-by-value for primitive types (Number, String, Boolean, undefined, null, Symbol) and pass-by-reference for compound types (Objects and Arrays). The typeof operator
    JS Tutorial 794 2025-02-17 08:46:19
  • Building a Cross-platform Desktop App with NW.js
    Building a Cross-platform Desktop App with NW.js
    NW.js: A framework for building native applications using web technology NW.js is a powerful framework that allows developers to create native applications using web technologies such as HTML, JavaScript, and CSS to generate hybrid applications that have significant advantages over ordinary web applications. Compared with another hybrid application framework, Electron, NW.js has the following advantages: support for chrome.* APIs, Chrome applications, NaCl and PNaCl applications, V8 snapshot source code protection, built-in PDF viewer, print preview, and Web Workers Integrate Node.js in. Use NW.js to create hybrid applications
    JS Tutorial 314 2025-02-17 08:37:10
  • Make a Skype Bot with Electron & the Microsoft Bot Framework
    Make a Skype Bot with Electron & the Microsoft Bot Framework
    This tutorial demonstrates building a Skype bot for daily scrum meetings using Electron and the Microsoft Bot Framework (MBF). It leverages Electron to create a configuration GUI for managing scrum teams and members, while Node.js and the MBF SDK po
    JS Tutorial 960 2025-02-17 08:33:11
  • Quick Tip: User Sortable Lists with Flexbox and jQuery
    Quick Tip: User Sortable Lists with Flexbox and jQuery
    This article demonstrates how to create a basic jQuery plugin for sorting elements using flexbox and custom data attributes. The plugin, numericFlexboxSorting, offers simple ascending/descending sorting based on data-price or data-length attributes.
    JS Tutorial 297 2025-02-17 08:29:10
  • Building Mega Menus with Flexbox
    Building Mega Menus with Flexbox
    Core points Flexbox is a CSS layout model that allows developers to create complex UIs without relying on redundant CSS and JavaScript tricks. It uses a linear layout model, making it easier to layout content horizontally or vertically without spacing calculations. Flexbox can be used to create websites with giant navigation menus. This layout model allows creating simple navigation bars, single drop-down menu segments, and limiting single drop-down menu segments to three columns. The Flex layout is responsive to elements within the container, reducing the need for media queries. The final mega menu created in this tutorial is not fully responsive. The main menu bar will be displayed on a smaller screen, but the giant menu will not be available, only the top links are available
    CSS Tutorial 442 2025-02-17 08:27:10
  • Getting Started with Sass
    Getting Started with Sass
    This article explores the power of Sass, a CSS preprocessor, to streamline your CSS workflow. It's been updated with current information and improved formatting. Sass: A CSS Revolution Sass enhances CSS with features like variables, nesting, and m
    CSS Tutorial 564 2025-02-17 08:25:11
  • How You Can Use HTML5 Custom Data Attributes and Why
    How You Can Use HTML5 Custom Data Attributes and Why
    HTML5 custom data attributes allow developers to store custom data in HTML elements. They provide a way to add additional information to HTML elements that can be used by JavaScript or CSS, thereby enhancing web page functionality. This article will explain what data attributes are and what they are for. Key Points HTML5 custom data attributes allow developers to store additional information on HTML elements that can be accessed and used by JavaScript or CSS, thereby enhancing web page functionality. Data attributes always start with "data-", can be used to style elements in CSS through attribute selectors, and can display information to users through the attr() function. In Java
    JS Tutorial 838 2025-02-17 08:24:12
  • Replaced Elements in HTML: Myths and Realities
    Replaced Elements in HTML: Myths and Realities
    This article explores the often-misunderstood behavior of replaced elements in HTML, clarifying their nature and dispelling common misconceptions. Front-end developers frequently encounter challenges with elements like iframes, applets, and form con
    CSS Tutorial 143 2025-02-17 08:23:09
  • How to Test Your JavaScript with Selenium WebDriver and Mocha
    How to Test Your JavaScript with Selenium WebDriver and Mocha
    Core points Mocha.js is a feature-rich JavaScript testing framework based on Node.js, which can be used to write JavaScript functional tests in combination with Selenium WebDriver 3 and NodeJS. This requires familiarity with the basics of NodeJS and JavaScript programming languages. Mocha provides an API for building test code into test suites and test case modules to enable execution and report generation. It supports test suite setup and teardown functions, as well as test case setup and teardown functions. Selenium WebDriver is a control W
    JS Tutorial 404 2025-02-16 13:21:09
  • A Guide to Proper Error Handling in JavaScript
    A Guide to Proper Error Handling in JavaScript
    Key Points Cleverly use the try…catch statement block to effectively manage exceptions, and enhance the debugging process by allowing errors to bubble up to the call stack, thereby displaying errors more clearly. Implement global error handlers (such as window.onerror event) to centralize and simplify error handling for easy management and maintenance in different parts of the application. Use the browser's ability to record detailed error information (including call stack) to improve error diagnosis and a clearer understanding of the source and context of the error. Ensure effective capture and management of asynchronous code by using setTimeout in the try…catch block or using a global error handler suitable for all execution contexts
    JS Tutorial 189 2025-02-16 13:20:16
  • How to Build a React App that Works with a Rails 5.1 API
    How to Build a React App that Works with a Rails 5.1 API
    This tutorial demonstrates building a CRUD app using a Rails 5.1 API and a React frontend. The combination of React's dynamic UI capabilities and Rails' robust backend creates a powerful application architecture. This hands-on guide assumes familia
    JS Tutorial 764 2025-02-16 13:17:08
  • Building a Trello Layout with CSS Grid and Flexbox
    Building a Trello Layout with CSS Grid and Flexbox
    Key Takeaways The tutorial demonstrates how to implement a basic layout of a Trello board using CSS Grid and Flexbox, providing a responsive, CSS-only solution. The layout consists of an app bar, a board bar, and a section containing card lists.
    CSS Tutorial 518 2025-02-16 13:10:10
  • BDD in JavaScript: Getting Started with Cucumber and Gherkin
    BDD in JavaScript: Getting Started with Cucumber and Gherkin
    The benefits of test-driven development (TDD) are well known to improve product quality and development efficiency. Every time you write a code test, you can ensure the correctness of the code and promptly detect possible future code errors. Behavior-driven development (BDD) takes it a step further on this, testing the behavior of the product, not just code, to ensure that the product behavior is in line with expectations. This article will describe how to write BDD-style automated acceptance tests using the Cucumber framework. The advantage of Cucumber is that test cases can be written in concise natural language for easy understanding by non-technical personnel in the project. After reading this article, you can tell if Cucumber is right for your team and start writing yourself
    JS Tutorial 985 2025-02-16 13:09:11

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