Developer Cheatsheets & API Docs

Web Development Reference Documentation

Comprehensive, quick-lookup reference guides for HTML elements, CSS properties, and JavaScript standard library methods.

HTML5 Elements & Attributes Reference

View HTML Course →
Element / TagCategorySyntaxDescription
<a>Links<a href="url" target="_blank">Link Text</a>Defines a hyperlink to another web page, file, email address, or location in the same page.
<article>Semantic<article><h2>Article Title</h2><p>Content</p></article>Represents a complete, or self-contained, composition in a document, page, application, or site.
<button>Forms<button type="button|submit|reset">Button Label</button>Defines an accessible, clickable button.
<dialog>Interactive<dialog open>Modal Content</dialog>Represents a dialog box or other interactive component, such as an alert, inspector, or modal window.
<form>Forms<form action="/submit" method="post">...</form>Represents an interactive HTML form control section containing inputs, selects, and submit buttons.
<img>Media<img src="image.jpg" alt="Descriptive text" width="300" height="200" />Embeds an image into the document with required accessible alt description.
<input>Forms<input type="text|email|password|checkbox|radio" name="field" />The fundamental user input field element supporting over 20 distinct data types.
<table>Tables<table><thead><tr><th>Header</th></tr></thead><tbody><tr><td>Data</td></tr></tbody></table>Represents tabular data structured into rows and columns.

CSS3 Properties & Selectors Reference

View CSS Course →
PropertyCategorySyntax ValuesDescription
displayLayoutdisplay: block | inline | inline-block | flex | grid | none;Specifies how an element behaves in the document flow and the formatting context for its children.
flex-directionFlexboxflex-direction: row | row-reverse | column | column-reverse;Sets the direction of the flex container's main axis.
grid-template-columnsGridgrid-template-columns: repeat(auto-fit, minmax(250px, 1fr));Defines the track sizing functions and line names of the grid columns.
justify-contentFlexbox & Gridjustify-content: flex-start | flex-end | center | space-between | space-around | space-evenly;Defines how the browser distributes space between and around content items along the main axis.
box-shadowVisualbox-shadow: offset-x offset-y blur-radius spread-radius color;Adds shadow effects around an element's frame.
transitionAnimationtransition: property duration timing-function delay;Enables smooth property transitions between different CSS states.

JavaScript Standard Methods & APIs Reference

View JavaScript Course →
Method / APICategoryReturn ValueDescription
Array.prototype.map()ArrayA new array with each element being the result of the callback function.Creates a new array populated with the results of calling a provided function on every element in the calling array.
Array.prototype.filter()ArrayA new array of elements that pass the predicate function.Creates a shallow copy of a portion of a given array, filtered down to just the elements that pass the test.
Array.prototype.reduce()ArrayThe value that results from the reduction.Executes a user-supplied 'reducer' callback function on each element of the array, returning a single resulting value.
document.querySelector()DOMAn Element object representing the first match, or null if no matches are found.Returns the first Element within the document that matches the specified CSS selector string.
Promise.all()AsyncA Promise that resolves to an array of the results of the input promises.Takes an iterable of promises and returns a single Promise that fulfills when all of the promises have fulfilled.
fetch()NetworkA Promise that resolves to a Response object.Starts the process of fetching a resource from the network, returning a promise fulfilled by the Response.