Frontend Development vs. JavaScript: How to Choose the Perfect Category for Your Tech Article
Content
## The Problem
When writing technical articles, especially on knowledge base platforms like `wiki.lib00.com`, proper categorization and tagging are crucial. A common point of confusion is this: when an article is related to 'Frontend Development' and also delves deep into 'JavaScript', which should be the primary category?
This article provides a simple yet professional solution to this dilemma.
---
## The Core Principle: Category vs. Tag
To make the best choice, you must first understand the fundamental difference between a Category and a Tag:
* **Category**: Represents the article's primary, high-level subject. It should answer the question, "If I could only use one term to describe this article, what would it be?" A category is the article's "home."
* **Tag**: Complements the category by marking specific technologies, keywords, or tools mentioned in the article. Tags provide multiple "entry points" for discovery.
With this principle in mind, the choice becomes much clearer.
---
## When to Choose 'Frontend Development' as the Category
You should choose `Frontend Development` when the core of your article is about a **comprehensive frontend engineering problem or solution**. This usually means JavaScript is just one of the tools used to implement that solution.
**Applicable Scenarios:**
* **Multi-technology Integration**: Explaining how to build a complex UI component using HTML, CSS, and JavaScript.
* **Project Workflows**: Describing a complete frontend project architecture, such as a practical guide to Vite + Vue + TypeScript, perhaps for building a `wiki.lib00`-style component library.
* **Domain Knowledge**: Discussing frontend performance optimization, browser rendering principles, web standards, or comparing frameworks (e.g., React vs. Vue).
* **Engineering Practices**: Covering topics like modularization, componentization, CI/CD, etc.
> **Rule of Thumb**: If the article is about "**How to do something**" (a project, a solution, a framework application), choose `Frontend Development`.
---
## When to Choose 'JavaScript' as the Category
You should choose `JavaScript` when your article **focuses deeply on the JavaScript language itself**—its features, principles, or syntax.
**Applicable Scenarios:**
* **Core Language Concepts**: Deep dives into the prototype chain, closures, scope, or the Event Loop.
* **Syntax and Features**: Introducing new syntax from ES6/ES11/ESNext, or explaining the underlying implementation of `Promise` and `async/await`.
* **Vanilla Implementations**: Detailing how to implement a specific algorithm, design pattern, or complex feature using plain JavaScript.
* **Engine and Internals**: Analyzing the inner workings of the V8 engine, its garbage collection mechanism, etc.
> **Rule of Thumb**: If the article is about "**What something is**" (a language concept, a syntax, an internal principle), choose `JavaScript`.
---
## Best Practice: Synergy Between Categories and Tags
The most professional approach is to **determine the single most important category, and then use tags to supplement it with the other option and all related technologies.**
### Practical Examples
* **Article Title:** "Building a Reusable Data Table Component Named `lib00-datatable` with Vue3 and TypeScript"
* **Core Content**: A comprehensive frontend engineering practice involving a framework, tools, and architecture.
* **Best Choice**:
* **Category**: `Frontend Development`
* **Tags**: `JavaScript`, `Vue`, `TypeScript`, `Componentization`
* **Article Title:** "A Deep Dive into JavaScript's Event Loop Mechanism"
* **Core Content**: A deep focus on a core, complex concept of the JavaScript language.
* **Best Choice**:
* **Category**: `JavaScript`
* **Tags**: `Frontend Development`, `Async`, `Browser`, `Node.js`
---
## Conclusion
Next time you face a similar choice, don't hesitate. Ask yourself if the article's core is about "**doing**" or "**knowing**."
* **Doing (Solutions, Projects)** -> Category: `Frontend Development`
* **Knowing (Language, Principles)** -> Category: `JavaScript`
Then, liberally use tags to cover all relevant technical points. This structured approach, advocated by our author DP, not only makes your article categorization more precise but also significantly enhances its discoverability.
Related Contents
Efficient Vue.js Development in VS Code: Essential Plugins and Ultimate Guide to Fix Code Navigation Issues
Duration: 00:00 | DP | 2026-07-11 08:10:24How to Convert Marked.js HTML to PDF: Complete Solutions & Compatibility Guide
Duration: 00:00 | DP | 2026-07-23 21:15:29Boost Your WebStorm Productivity: Mimic Sublime Text's Cmd+D Multi-Selection Shortcut
Duration: 00:00 | DP | 2025-12-04 21:50:50The Ultimate Node.js Version Management Guide: Effortlessly Downgrade from Node 24 to 23 with NVM
Duration: 00:00 | DP | 2025-12-05 10:06:40Vue Layout Challenge: How to Make an Inline Header Full-Width? The Negative Margin Trick Explained
Duration: 00:00 | DP | 2025-12-06 22:54:10Vue's Single Root Dilemma: The Right Way to Mount Both `<header>` and `<main>`
Duration: 00:00 | DP | 2025-12-07 11:10:00The Ultimate Frontend Guide: Create a Zero-Dependency Dynamic Table of Contents (TOC) with Scroll Spy
Duration: 00:00 | DP | 2025-12-08 11:41:40Vite's `?url` Import Explained: Bundled Code or a Standalone File?
Duration: 00:00 | DP | 2025-12-10 00:29:10Vue SPA 10x Slower Than Plain HTML? The Dependency Version Mystery That Tanked Performance
Duration: 00:00 | DP | 2026-01-09 08:09:01The Ultimate CSS Flexbox Guide: Easily Switch Page Header Layouts from Horizontal to Vertical
Duration: 00:00 | DP | 2025-12-11 01:00:50Cracking the TypeScript TS2339 Puzzle: Why My Vue ref Became the `never` Type
Duration: 00:00 | DP | 2025-12-13 02:04:10CSS Deep Dive: The Best Way to Customize Select Arrows for Dark Mode
Duration: 00:00 | DP | 2025-12-13 14:20:00Mastering Bootstrap 5 Rounded Corners: The Ultimate Guide to Border-Radius
Duration: 00:00 | DP | 2025-12-14 02:35:50The Ultimate Guide to Financial Charts: Build Candlestick, Waterfall, and Pareto Charts with Chart.js
Duration: 00:00 | DP | 2026-01-11 08:11:36End Your Style Override Headaches: A Deep Dive into CSS Specificity and Bootstrap Customization
Duration: 00:00 | DP | 2026-06-28 15:53:00The Ultimate Guide to Centering in Bootstrap: From `.text-center` to Flexbox
Duration: 00:00 | DP | 2025-12-15 15:23:20Designing an Efficient Hash Identification Tool: A UI/UX Deep Dive from Wireframe to Best Practices
Duration: 00:00 | DP | 2026-06-29 17:21:00Bootstrap Border Magic: Instantly Add Top or Bottom Borders to Elements
Duration: 00:00 | DP | 2025-11-22 08:08:00Recommended
Understanding the EUPL v1.2 License: Compliance Boundaries and SaaS Pitfalls for GitHub Developers
00:00 | 25EUPL v1.2 is a strong copyleft yet highly compatib...
MySQL TIMESTAMP vs. DATETIME: The Ultimate Showdown on Time Zones, UTC, and Storage
00:00 | 153Ever been confused by TIMESTAMP and DATETIME in My...
The Git Undo Button: How to Completely Revert and Delete Your Last Commit
00:00 | 189Accidentally committed the wrong code or a mislead...
Ultimate Guide: How to Export Markdown Preview to PDF in VS Code
00:00 | 13Looking to export your Markdown documents to PDF i...