Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro to HTML, CSS, and JavaScript — Teaching Blog

Welcome! This repo is a hands-on learning site for beginners to build solid foundations in modern web development using HTML, CSS, and JavaScript. It documents my learning journey and curates clear, bite-sized pages with examples, explanations, and small practice ideas.

What you'll learn

  • HTML: semantic structure, forms, tables, media, links
  • CSS: selectors, the box model, layout (Flexbox/Grid), responsive design, transitions
  • JavaScript (new): language basics, variables & types, control flow, functions, DOM & events
  • Practical best practices: accessibility basics, mobile-first responsiveness, clean code

How to use this repository

  1. Clone or download the project.
  2. Open index.html in your browser and use the navigation to explore topics.
  3. Try the examples, tweak the code snippets, and build the small practice projects listed on each page.

Tip: For a better local experience (live reload and correct relative paths), use a simple local server.

On Windows (PowerShell):

# Option 1: Using Python 3
python -m http.server 5500
# then open http://localhost:5500/index.html

# Option 2: Using Node.js (if installed)
npx serve . -l 5500

Site structure

  • Root folder contains the index.html entry point, styles.css, and site.js.
  • All lesson pages (e.g. css-intro.html, js-intro.html, forms.html) are nicely organized inside the pages/ folder.
  • CSS has been upgraded to feature modern aesthetics (glassmorphism, updated typography, vibrant color palettes, subtle animations) while remaining accessible and well-documented for learning.
  • JavaScript has been streamlined for cross-folder navigation and robust validation.

Contributing or extending

  • Keep pages small and focused; prefer multiple short examples over one long block.
  • Use semantic HTML and keep accessibility in mind (headings order, alt text, labels, contrast).
  • Reuse the shared header, nav, and footer patterns and link styles.css.
  • Test pages at mobile widths (≤ 400–600px) to ensure good readability and navigation.

Acknowledgements

  • Coursera: HTML, CSS, and JavaScript for Web Developers — Johns Hopkins University
  • MDN Web Docs for language and browser APIs

Helpful resources

Happy learning and building!

_Maintained by Ahbab with help from GPT-5 Thinking Model

About

Beginner-friendly HTML, CSS & JavaScript learning examples

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages