Ngôn ngữ lập trình
Hướng dẫn Python, C, C++, Java, JavaScript, TypeScript, Go, R và Haskell — từ cú pháp cơ bản đến kỹ thuật nâng cao.
Module 2: Intermediate JavaScript
Goal: Understand deeper language features and modern syntax (ES6+).
Đọc bài viết →Lesson 1: Scope and Hoisting
By the end of this lesson, you will be able to: Understand global vs local scope Explain lexical scope and scope chain Understand hoisting behavior with var, let, and const Identify scope-related bugs and avoid them Writ
Đọc bài viết →Lesson 10: Mini Project - To-Do List App
By the end of this lesson, you will be able to: Build a complete interactive web application Combine all concepts from Module 2 Use DOM manipulation, events, and localStorage Create a functional to-do list with add/remov
Đọc bài viết →Lesson 2: Destructuring & Spread/Rest
By the end of this lesson, you will be able to: Extract values from arrays using destructuring Extract properties from objects using destructuring Use spread operator to expand arrays and objects Use rest operator to col
Đọc bài viết →Lesson 3: Template Literals
By the end of this lesson, you will be able to: Create dynamic strings using template literals Embed variables and expressions in strings Write multi-line strings without concatenation Use template literals for complex s
Đọc bài viết →Lesson 4: Modules & Imports/Exports
By the end of this lesson, you will be able to: Understand what modules are and why they're important Export functions, variables, and objects from modules Import code from other modules Use default exports vs named expo
Đọc bài viết →Lesson 5: Classes and OOP
By the end of this lesson, you will be able to: Create classes using the class keyword Define constructors and methods Create instances of classes Understand inheritance with extends Use super() to call parent constructo
Đọc bài viết →Lesson 6: Error Handling
By the end of this lesson, you will be able to: Use try, catch, and finally blocks Throw custom errors Handle different types of errors Create custom error classes Write robust error handling code
Đọc bài viết →Lesson 7: DOM Manipulation Basics
By the end of this lesson, you will be able to: Select elements using querySelector and querySelectorAll Change element content with innerText and innerHTML Modify element styles dynamically Add and remove CSS classes Cr
Đọc bài viết →Lesson 8: Events
By the end of this lesson, you will be able to: Add event listeners to elements Handle different types of events (click, input, submit) Understand event bubbling and delegation Prevent default browser behavior Create int
Đọc bài viết →Lesson 9: JSON & LocalStorage
By the end of this lesson, you will be able to: Convert JavaScript objects to JSON strings Parse JSON strings back to JavaScript objects Store data in browser localStorage Retrieve data from localStorage Persist data bet
Đọc bài viết →Module 3: Advanced JavaScript
Goal: Learn asynchronous programming and browser APIs.
Đọc bài viết →Lesson 1: Asynchronous JavaScript
By the end of this lesson, you will be able to: Understand synchronous vs asynchronous programming Use callbacks to handle asynchronous operations Work with Promises and their methods Use async/await for cleaner asynchro
Đọc bài viết →Lesson 10: Mini Project - Weather App
By the end of this lesson, you will be able to: Build a complete weather application Integrate with a real API (OpenWeather) Handle API responses and errors Create a responsive user interface Implement search functionali
Đọc bài viết →Lesson 2: Fetch API
By the end of this lesson, you will be able to: Make GET requests to fetch data from APIs Make POST requests to send data to servers Handle different response formats (JSON, text, blob) Manage HTTP status codes and error
Đọc bài viết →Lesson 3: APIs & REST Concepts
By the end of this lesson, you will be able to: Understand what APIs are and how they work Learn REST principles and HTTP methods Build query parameters for API requests Understand API endpoints and URL structure Handle
Đọc bài viết →Lesson 4: DOM Advanced
By the end of this lesson, you will be able to: Create and remove DOM elements dynamically Build dynamic lists and templates Manipulate element attributes and classes Use document fragments for performance Implement adva
Đọc bài viết →Lesson 5: Forms and Validation
By the end of this lesson, you will be able to: Handle form submission events Validate form inputs in real-time Prevent empty field submissions Create custom validation messages Implement form data collection Build user-
Đọc bài viết →Lesson 6: Timers and Intervals
By the end of this lesson, you will be able to: Use setTimeout for delayed execution Use setInterval for repeated execution Clear timers with clearTimeout and clearInterval Build countdown timers Create animation loops I
Đọc bài viết →Lesson 7: Date and Time
By the end of this lesson, you will be able to: Create and manipulate Date objects Format dates for display Work with timestamps Calculate time differences Handle time zones Create date utilities
Đọc bài viết →Lesson 8: Regular Expressions
By the end of this lesson, you will be able to: Understand regex syntax and patterns Use regex for pattern matching Validate input with regex Replace text using regex Extract data from strings Create common regex pattern
Đọc bài viết →Lesson 9: Debugging Tools
By the end of this lesson, you will be able to: Use Chrome DevTools effectively Set breakpoints and step through code Inspect variables and call stack Use the network inspector Debug asynchronous code Profile application
Đọc bài viết →Module 4: Modern ES6+ Features
Goal: Write clean, modular, and modern code using ES6+ features.
Đọc bài viết →Lesson 1: Arrow Functions Deep Dive
By the end of this lesson, you will be able to: Understand arrow function syntax and benefits Know when to use arrow functions vs regular functions Understand lexical this binding in arrow functions Use arrow functions w
Đọc bài viết →