Catalog / Web Development Cheatsheet
Web Development Cheatsheet
A comprehensive cheat sheet covering essential web development technologies, concepts, and best practices. Useful for both beginners and experienced developers.
HTML Fundamentals
Basic Structure
|
Common Tags
|
Heading tags, |
|
Paragraph tag for text content. |
|
Anchor tag for creating hyperlinks. Use |
|
Image tag for embedding images. Use |
|
Unordered list, ordered list, and list item tags. |
|
Division tag, a generic container for grouping content. |
Semantic Elements
|
Represents the header of a section or page. |
|
Represents a section of navigation links. |
|
Specifies the main content of a document. |
|
Represents a self-contained composition in a document. |
|
Represents content that is tangentially related to the content around it. |
|
Represents the footer of a section or page. |
CSS Fundamentals
Selectors
|
Universal selector, selects all elements. |
|
Type selector, selects all elements of the specified type (e.g., |
|
Class selector, selects all elements with the specified class. |
|
ID selector, selects the element with the specified ID. |
|
Descendant selector, selects all elements that are descendants of the specified element. |
|
Child selector, selects all elements that are direct children of the specified element. |
Box Model
The CSS box model defines the space around HTML elements. It consists of:
|
Common Properties
|
Sets the text color. |
|
Sets the background color. |
|
Sets the font size. |
|
Sets the margin around an element. |
|
Sets the padding around an element. |
|
Sets the border around an element. |
JavaScript Fundamentals
Variables
|
Data Types
Primitive |
Number, String, Boolean, Null, Undefined, Symbol (ES6) |
Object |
Objects, Arrays, Functions |
Functions
|
DOM Manipulation
|
Gets an element by its ID. |
|
Returns the first element that matches a CSS selector. |
|
Gets or sets the HTML content of an element. |
|
Attaches an event handler to an element. |
Responsive Web Design
Viewport Meta Tag
|
Media Queries
|
Flexible Layouts
Flexbox |
A CSS layout module that provides an efficient way to align and distribute space among items in a container. |
Grid |
A two-dimensional layout system that allows you to create complex layouts with rows and columns. |
Responsive Images |
Use the |