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

  • How to Create Form-Based Directives in AngularJS
    How to Create Form-Based Directives in AngularJS
    Core points Use AngularJS directive to create reusable form components, with independent scopes that enhance the modularity and maintainability of web applications. Implement custom verification methods in directives to handle complex input verification, ensuring data integrity before being submitted to the server. Quickly establish client input verification using AngularJS built-in form verification technologies (such as ng-required and ng-pattern). Use FormController in AngularJS to manage form status and verification, provide instant feedback to users and improve user experience. Use the ng-submit directive to handle form submission in AngularJS, blocking the default
    JS Tutorial 934 2025-02-19 11:52:13
  • Filtering Reality with JavaScript and Google Cardboard
    Filtering Reality with JavaScript and Google Cardboard
    Key Takeaways Utilizing JavaScript and HTML5, the project transforms a mobile browser into an augmented reality (AR) viewer through Google Cardboard, leveraging the phone’s camera to overlay filters on the real-world environment. The implementat
    JS Tutorial 752 2025-02-19 11:47:09
  • A Beginner's Guide to Currying in Functional JavaScript
    A Beginner's Guide to Currying in Functional JavaScript
    Currying, or partial application, is one of the functional techniques that can sound confusing to people familiar with more traditional ways of writing JavaScript. But when applied properly, it can actually make your functional JavaScript more readab
    JS Tutorial 582 2025-02-19 11:45:11
  • Controlling a Motorbot Using Arduino and Node.js
    Controlling a Motorbot Using Arduino and Node.js
    This tutorial demonstrates building a NodeBot—a robot controlled by Node.js—using Arduino. We'll create a simple motorbot controllable from a web browser. The project leverages JavaScript's growing popularity in robotics and IoT. Key Concepts: Nod
    JS Tutorial 962 2025-02-19 11:43:12
  • Backbone.js Basics: Models, Views, Collections and Templates
    Backbone.js Basics: Models, Views, Collections and Templates
    In this tutorial, we’re going to explore the underlying fundamentals of the popular MV* framework, Backbone.js. We’ll take a look at models, views, collections, and templates, and see how each builds off of each other when building an application. We
    JS Tutorial 306 2025-02-19 11:37:08
  • An Introduction to Verlet.js
    An Introduction to Verlet.js
    Verlet.js, a lightweight JavaScript physics engine by Sub Protocol, simplifies 2D physics simulations for web games and scientific applications. This tutorial explores its core functionalities. Key Concepts: Verlet.js leverages Verlet integration,
    JS Tutorial 979 2025-02-19 11:32:08
  • CSS Pseudo-classes: :not() and :target
    CSS Pseudo-classes: :not() and :target
    This article explores the versatile CSS pseudo-classes :not() and :target, showcasing their power in creating sophisticated and targeted styles. We'll delve into their functionalities and demonstrate practical applications, including building JavaSc
    CSS Tutorial 928 2025-02-19 11:29:08
  • Asm.js and WebGL for Unity and Unreal Engine
    Asm.js and WebGL for Unity and Unreal Engine
    This article explores the power of asm.js and WebGL for creating high-performance web applications, focusing on their integration with Unity and Unreal Engine. It explains how these technologies allow developers to leverage C and C code within the
    JS Tutorial 702 2025-02-19 11:28:10
  • CSS Pseudo-classes: Styling Elements Based on Their Index
    CSS Pseudo-classes: Styling Elements Based on Their Index
    CSS selector: Pseudo-class selection based on the position of elements in the document subtree Core points CSS provides a selector called a sub-index pseudo-class that matches elements based on their position in the document subtree. These include :first-child, :last-child, :only-child, :nth-child() and :nth-last-child(). The pseudo-classes :nth-child() and :nth-last-child() are functional and can accept parameters in the form of odd keyword, even keyword, integer, or An B, where A is the step interval and B is the bias Movement, n is positive
    CSS Tutorial 210 2025-02-19 11:26:09
  • Watch: Adding a Lap Logger to a React Stopwatch
    Watch: Adding a Lap Logger to a React Stopwatch
    This tutorial extends our React stopwatch to include lap timing functionality – a crucial feature for any serious timekeeping application. We'll leverage our knowledge of React state management, arrays, and conditional rendering to achieve this. Thi
    JS Tutorial 536 2025-02-19 11:24:10
  • CSS Selectors: Specificity
    CSS Selectors: Specificity
    The following excerpts are from the book "The Master of CSS" written by Tiffany B. Brown. This book is available in stores around the world, and you can also purchase the e-book version here. CSS specificity determines which style declarations ultimately apply to the element. Wildcard selector (*) has the lowest specificity and ID selector has the highest specificity. The descendant selector (e.g. p img) and the sub selector (e.g. .panel > h2) are more specific than the type selector (e.g. p, img, or h1). At first glance, calculating precise specificity values ​​seems tricky. As stated in Selector Level 3, you need: Statistics the number of ID selectors in the selector (= A) Statistical selection
    CSS Tutorial 965 2025-02-19 11:20:11
  • Using JavaScript to Create Geospatial and Advanced Maps
    Using JavaScript to Create Geospatial and Advanced Maps
    Key Concepts This article explores leveraging JavaScript and HTML for advanced geospatial mapping, showcasing lightweight libraries for various GIS tasks. These tools often integrate with services like Mapbox, CloudMade, and MapZen, functioning with
    JS Tutorial 749 2025-02-19 11:18:10
  • CSS Selectors: Combinators
    CSS Selectors: Combinators
    Key Takeaways CSS selectors match rules to elements, with the Selectors Level 3 and Level 4 specifications introducing several new selectors. These include new attribute selectors and combinators, and a range of new pseudo-classes. Combinators a
    CSS Tutorial 515 2025-02-19 11:14:11
  • Writing Element Queries Today Using EQCSS
    Writing Element Queries Today Using EQCSS
    Element Queries: Responsive Design Beyond Viewport Limitations This article explores element queries, a powerful technique extending responsive design capabilities beyond traditional media queries. Unlike media queries that react to viewport dimensi
    CSS Tutorial 500 2025-02-19 11:10:12
  • Build the Ultimate Search for Your Business, Just Like Google and Amazon
    Build the Ultimate Search for Your Business, Just Like Google and Amazon
    Improve website search experience: speed, relevance and design are indispensable Core points: A good website search experience is crucial and can be achieved without a large team of search engineers. The focus of future searches is on user experience, which depends on UX designers and front-end engineers. The three pillars of an excellent search experience are: speed, relevance and design. Speed ​​refers to providing search results in milliseconds; correlation refers to matching queries with recorded searchable terms and business metrics; design refers to creating user-friendly search bars and results pages. Hosted search engine Algolia enables any engineer to build a great search experience. It provides extremely fast search results worldwide (under 35 milliseconds), using optimized algorithms to ensure results are relevant
    CSS Tutorial 414 2025-02-19 11:05:09

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