Welcome! This repository is a collection of practical, hands-on examples designed to help you learn web development, from the very first HTML tag to advanced CSS animations.
Each .html file is a self-contained lesson. You can open them in your browser to see the results and read the code (and comments!) to understand how it's done.
- Full Html.html
- A complete reference guide to all essential HTML tags. Covers headings, text formatting, images, video, audio, forms, lists, tables, and more. A perfect starting point.
-
css and fonts.html / css and fonts.css
- Demonstrates how to style text using various CSS font properties like
font-family,font-size,font-weight, andtext-transform.
- Demonstrates how to style text using various CSS font properties like
-
- A crucial concept! This file explains the difference between CSS
displayproperties:block,inline,inline-block,flex, andgrid.
- A crucial concept! This file explains the difference between CSS
-
- A visual guide to CSS
position:static,relative,absolute,fixed, andsticky.
- A visual guide to CSS
-
- Explains the difference between the CSS alignment properties:
justify-content,justify-items, andjustify-self.
- Explains the difference between the CSS alignment properties:
-
- A deep dive into CSS selectors. This guide shows you how to use dynamic pseudo-classes (
:hover,:focus), structural pseudo-classes (:first-child,:nth-child), and pseudo-elements (::first-line,::marker).
- A deep dive into CSS selectors. This guide shows you how to use dynamic pseudo-classes (
-
- Learn the power of the
::beforeand::afterpseudo-elements with 10 creative tricks, including animated buttons, tooltips, custom list styles, and image overlays.
- Learn the power of the
-
- A complete guide to making things move. This file covers:
transition: For smooth changes on hover.transform: Totranslate(move),rotate(spin),scale(resize), andskew(distort) elements.@keyframes: For creating complex, multi-stage animations.
- A complete guide to making things move. This file covers:
-
- Take your skills to the next dimension! This file demonstrates advanced 3D effects like flip cards, rotating cubes, 3D galleries, and page-turn effects.
-
- A complete, responsive website navigation header. It's built with modern HTML and CSS, and includes JavaScript to toggle the mobile menu.
-
- A beautiful, animated website footer. This component is fully styled with CSS variables, includes social media links, a newsletter form, and a subtle floating circle animation.