Skip to content

amirabenameur3/html_css_cheatsheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

29 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

HTML & CSS Cheatsheet preview

πŸ“˜ HTML & CSS Cheatsheet

An interactive and responsive HTML & CSS developer cheatsheet designed to help beginners quickly reference essential front-end concepts through clean UI components, searchable content, accordion sections, and copy-ready code examples.


πŸ“– Project Overview

This project is an interactive developer cheatsheet website designed to help beginners quickly understand essential HTML, CSS, and responsive design concepts.

The cheatsheet organizes front-end development topics into structured and easy-to-read sections while providing modern interactive features such as:

  • Real-time search filtering
  • Accordion-based content organization
  • Copy-ready code snippets
  • Responsive mobile navigation
  • Dark and light theme support

The goal of the project was to build a clean, responsive, and user-friendly developer reference page while practicing modern front-end development techniques using HTML, CSS, and JavaScript.


🌟 Highlights

  • πŸ” Interactive search system
  • πŸ“‚ Accordion-based documentation layout
  • πŸ“‹ Copy-to-clipboard functionality
  • πŸŒ— Dark / Light theme support
  • πŸ“± Responsive mobile-first navigation

🌐 Live Demo

You can explore the live version of the website here:

πŸ‘‰ https://amirabenameur3.github.io/html_css_cheatsheet/

Deployed with GitHub Pages


✨ Features

  • πŸ” Real-time search and filtering system
  • πŸ“‚ Accordion-based collapsible sections
  • πŸ“‹ One-click copy buttons for code snippets
  • πŸŒ— Dark / Light theme support
  • πŸ“± Fully responsive mobile design
  • πŸ” Interactive mobile dropdown navigation
  • 🎨 Modern UI using CSS variables
  • β™Ώ Accessibility-focused semantic structure
  • 🧭 Sticky navigation header
  • ✨ Smooth hover and transition effects
  • πŸ¦“ Zebra-striped tables for readability
  • πŸ’» Developer-friendly code formatting with Fira Code

🧰 Technologies Used

  • HTML5
  • CSS3
  • JavaScript (ES6)
  • Flexbox
  • Media Queries
  • CSS Variables
  • Google Fonts

🎬 Demo

html css cheatsheet demo


πŸ“Έ Website Sections

The cheatsheet is organized into multiple developer-focused sections:

HTML Basics

Key HTML elements and structure examples.

CSS Basics

Common CSS properties and styling fundamentals.

Box Model

Visual explanation of margin, border, padding, and content.

Flexbox

Modern layout techniques using Flexbox.

Responsive Design

Media queries and mobile-friendly design concepts.

CSS Selectors

Common selector patterns and targeting methods.

Accessibility

Semantic HTML and accessibility best practices.

Positioning & Display

Understanding layout positioning and display behavior.


⚑ Interactive Features

πŸ” Search System

Instantly filter cheatsheet content in real time.

πŸ“‚ Accordion Sections

Expand and collapse sections for better readability and navigation.

πŸ“‹ Copy Buttons

Quickly copy code examples with one click.

πŸŒ— Theme Toggle

Switch between dark and light modes.

πŸ“± Mobile Navigation

Responsive dropdown navigation optimized for smaller screens.


β™Ώ Accessibility

This project includes accessibility-focused improvements such as:

  • Semantic HTML structure
  • ARIA labels for interactive components
  • Accessible mobile navigation
  • Improved readability and spacing
  • Responsive layouts for different screen sizes
  • Keyboard-friendly interactions

πŸ“ Project Structure

html_css_cheatsheet
β”‚
β”œβ”€β”€ index.html
β”œβ”€β”€ README.md
β”œβ”€β”€ html_css_cheatsheet.ico
β”œβ”€β”€ main.js
β”‚
β”œβ”€β”€ docs
β”‚   β”œβ”€β”€ cheatsheet_html_css_preview.png
β”‚   └── demo.gif
β”‚
└── resources
    β”œβ”€β”€ css
    β”‚   └── styles.css
    β”‚
    └── images


🧠 What I Learned

While building this project I practiced:

  • Semantic and accessible HTML structure
  • Writing scalable and maintainable CSS
  • Responsive UI and mobile-first design
  • JavaScript DOM manipulation and interactivity
  • Dynamic search and filtering systems
  • Accordion component implementation
  • Copy-to-clipboard functionality
  • Responsive navigation systems
  • UI/UX improvements for usability and readability
  • Organizing files in a real-world project structure

πŸš€ Future Improvements

Possible future improvements for the project:

  • Add syntax highlighting for code examples
  • Add category-based filtering
  • Add keyboard shortcuts for navigation
  • Convert the project into a multi-page documentation website
  • Add interactive mini playground examples
  • Store theme preference using localStorage
  • Add animations using the Intersection Observer API

πŸ‘©β€πŸ’» Author

Amira Ben Ameur

PhD researcher in Structural & Transportation Engineering
Front-End Development learner

Connect With Me


⭐ If you like the project

Give the repository a star on GitHub ⭐

About

Interactive HTML & CSS cheatsheet with responsive design, live search, accordion sections, copy buttons, and dark/light theme support.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors