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:
-
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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