current location:Home > Technical Articles > Web Front-end
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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