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

  • Working with Phone Numbers in JavaScript
    Working with Phone Numbers in JavaScript
    When you’re collecting data from users, there are two key challenges; collecting that information, and validating it. Some types of information are straightforward – someone’s age, for example, couldn’t really be simpler to collect and to validate. N
    JS Tutorial 712 2025-02-20 10:39:08
  • AtoZ CSS Quick Tip: Float and Clear and Centering Elements
    AtoZ CSS Quick Tip: Float and Clear and Centering Elements
    SitePoint Premium Membership Exclusive: Complete AtZ: CSS Series Tutorials! Loading the player… Welcome to our AtoZ CSS series tutorials! In this series of tutorials, we will explore various CSS values ​​(and properties) that start with different letters in the alphabet. In this article, I have added a quick tip/course on Float and Clear attributes and various element centering methods. F stands for Float and Clear Floating is useful if you want to move elements to the left or right of the page, but unfortunately you can't use float: center to center the element. Isn't it very troublesome? Don't worry, here are the methods of centering various elements. Tips 1
    CSS Tutorial 990 2025-02-20 10:34:11
  • Advanced Snap.svg
    Advanced Snap.svg
    We have seen, in an earlier post, how to get started with Snap.svg. In this post, we are going to take a closer look at the new features mentioned in the first article. Key Takeaways Advanced Snap.svg allows for the creation of complex masks, gr
    JS Tutorial 304 2025-02-20 10:33:14
  • Three JavaScript Quirks That Java/C Developers Should Know
    Three JavaScript Quirks That Java/C Developers Should Know
    Core points Unlike C or Java, JavaScript's scope is function-based, not block-based; variables declared in if or for blocks are promoted to the top of the function or global scope. Elevation in JavaScript means that variables and function declarations are moved to the top of their included scope during compilation, but initialization is not elevated. Functions in JavaScript are treated as first-class citizens, meaning they can be stored in variables, passed as parameters, returned by other functions, and have properties like objects. The with statement (dynamic scope variable) in JavaScript has been deprecated because it may cause the
    JS Tutorial 771 2025-02-20 10:28:12
  • Make Forms Fun with Flexbox
    Make Forms Fun with Flexbox
    Using Flexbox for Elegant and Responsive HTML Form Design Key Advantages of Flexbox in Form Design: CSS Flexbox offers a streamlined approach to HTML form layout, resolving common challenges like inconsistent label-field ordering and alignment incon
    CSS Tutorial 307 2025-02-20 10:20:11
  • Simple Inheritance with JavaScript
    Simple Inheritance with JavaScript
    Key Takeaways JavaScript uses a prototype-based approach to create an object-oriented language, which allows behavior to be reused by cloning existing objects that serve as prototypes. This concept can be used to simulate inheritance. Inheritanc
    JS Tutorial 419 2025-02-20 10:19:10
  • A Comparison of JavaScript Linting Tools
    A Comparison of JavaScript Linting Tools
    Comparison of JavaScript code style checking tools: JSLint, JSHint, JSCS and ESLint This article will compare and analyze four popular JavaScript code style checking tools: JSLint, JSHint, JSCS and ESLint to help you choose the most suitable tool for your project. These tools help avoid coding errors by following coding specifications and identifying potential errors. Key points: JavaScript code style checking tools such as JSLint, JSHint, JSCS, and ESLint help avoid encoding errors by following encoding standards and identifying potential errors. Each tool has its own advantages and disadvantages, and the choice of the tool depends on the tool of the project.
    JS Tutorial 582 2025-02-20 10:15:10
  • Understanding Two-way Data Binding in AngularJS
    Understanding Two-way Data Binding in AngularJS
    Detailed explanation and application of AngularJS two-way data binding: Dynamic business card generator Core points AngularJS's two-way data binding allows changes to update views and vice versa. This is achieved through AngularJS built-in directives such as ng-model and ng-bind. The $scope object in AngularJS plays a crucial role in bidirectional data binding, acting as a bridge between the controller and the view, storing model data and functions. AngularJS combines event and attribute binding and digest cycle mechanism to implement two-way data binding to monitor and update views when data changes. While bidirectional data binding can simplify development by automatically synchronizing views and models,
    JS Tutorial 189 2025-02-20 10:14:11
  • AtoZ CSS Screencast: Unicode Range and @font-face
    AtoZ CSS Screencast: Unicode Range and @font-face
    Summary of key points CSS' @font-face rule allows custom fonts to be used in web design, thereby improving performance and improving typography. Be sure to test these custom fonts on different operating systems and browsers to make sure they appear correctly. The unicode-range property of CSS can be used to limit the character range of custom font applications. This is especially useful for adding special characters or symbols directly to the tag, or using special fonts for specific characters. By using the unicode-range property, you can improve web page performance by ensuring that only the necessary characters are downloaded and used, thereby reducing the amount of data that needs to be loaded. However, it should be noted that not all browsers support this
    CSS Tutorial 1081 2025-02-20 10:12:09
  • Building Sokoban with Polymer
    Building Sokoban with Polymer
    This tutorial demonstrates building the classic Sokoban game using Polymer, a JavaScript library for creating reusable web components. It leverages the generator-polymer Yeoman generator and Bower for publishing. Key Concepts: Polymer Web Component
    JS Tutorial 255 2025-02-20 10:11:08
  • The Basics of Node.js Streams
    The Basics of Node.js Streams
    Node.js, being asynchronous and event-driven, excels at I/O-bound operations. Leveraging Node.js streams significantly simplifies these tasks by efficiently processing data in smaller chunks. Let's delve into the world of streams and see how they st
    JS Tutorial 296 2025-02-20 10:07:10
  • Easy URL Parsing With Isomorphic JavaScript
    Easy URL Parsing With Isomorphic JavaScript
    Isomorphic JavaScript: Universal URL Parsing This article explores URL parsing within the context of isomorphic JavaScript applications. Isomorphic JavaScript allows code to run seamlessly on both the client (browser) and server (Node.js), enhancing
    JS Tutorial 662 2025-02-20 10:06:10
  • Common Pitfalls to Avoid when using HTML5 Application Cache
    Common Pitfalls to Avoid when using HTML5 Application Cache
    Key Points Never include manifest files in the application cache manifest, which creates a loop that will barely inform your website that new cache files are available. Always set the application type manifest in the server's .htaccess file to ensure AppCache is running correctly. If the media type is not set, AppCache will not work. Note that if none of the individual files specified in the manifest file are found or cannot be downloaded, the entire manifest file will be discarded. This is a special behavior of AppCache. After updating the website, always update the manifest file, otherwise the user will not see the changes and will only see the data that was previously cached. You can update the version number or date in the comments in the manifest file,
    JS Tutorial 199 2025-02-20 10:05:08
  • Create Data Visualizations in JavaScript using Dimple and D3
    Create Data Visualizations in JavaScript using Dimple and D3
    The world wide web places an abundance of data at our fingertips. Due to the sheer volume of this data, presenting it in a way that stands out, or in a way that gets your message across, can often prove tricky. This is where data visualizations come
    JS Tutorial 494 2025-02-20 09:59:09
  • Introduction to the Beacon API
    Introduction to the Beacon API
    Key Takeaways The Beacon API provides a solution for web developers to send small amounts of data, such as analytics or diagnostics, back to the server asynchronously while the current page is unloading, solving the issue of potential delay or los
    JS Tutorial 770 2025-02-20 09:57:10

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