JavaScript Basics
This is a sample post about JavaScript basics. VariablesJavaScript has three ways to declare variables: 123var oldWay = 'var is function-scoped';let blockScoped = 'let is block-scope...
记录日常知识积累
4 posts
This is a sample post about JavaScript basics. VariablesJavaScript has three ways to declare variables: 123var oldWay = 'var is function-scoped';let blockScoped = 'let is block-scope...
A comprehensive guide to Python’s built-in data structures. ListsLists are mutable sequences in Python: 123456789101112# Creating listsfruits = ['apple', 'banana', 'cherry&...
A comprehensive guide to CSS Flexbox layout. What is Flexbox?Flexbox is a one-dimensional layout method for arranging items in rows or columns. Basic Usage12345.container { display: flex; ju...
A comprehensive guide to React Hooks and how to use them effectively. useState HookManage component state: 1234567891011121314151617import { useState } from 'react';function Cou...