Skip to content

isocialPractice/interactive-html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interactive HTML

A collection of interactive electronics calculators, simulators, and educational tools built with HTML, CSS, and JavaScript. All tools run directly in the browser with no dependencies or installation required.

🚀 Quick Start

Launch Interactive Electronics Tools - Browse all tools from our modern landing page with search and categorized navigation.

Or visit any tool directly from the list below.

Features

  • No Installation Required: All tools are standalone HTML files that run directly in any modern web browser
  • Interactive Visualizations: Real-time visual feedback with SVG circuit diagrams and animated components
  • Modern Design: Professional light theme inspired by leading electronics education platforms
  • Responsive Design: Works on desktop, tablet, and mobile devices
  • Educational: Perfect for electronics students, hobbyists, and professionals
  • GitHub Pages Ready: Optimized for hosting on GitHub Pages with SEO-friendly structure

Available Tools

General Tools

Browse All General Tools | Measurement & utility calculators for everyday use

555 Timer Tools

Browse All 555 Timer Tools | Calculators and simulators for 555 timer circuits

Electronics Tools

Browse All Electronics Tools | Component calculators & circuit simulators

Resistor Tools

LED & Power Tools

Component Tools

Usage

Quick Start

  1. Download any HTML file from this repository
  2. Open the file in your web browser (Chrome, Firefox, Safari, Edge, etc.)
  3. Start using the calculator or simulator immediately

No Server Required

All tools are self-contained single-file applications. No web server, npm packages, or build process needed.

Example Usage

For LED projects:

1. Navigate to electronics/ folder
2. Open electronics-led-current-calculator.html
3. Enter your supply voltage (e.g., 5V)
4. Enter LED forward voltage (e.g., 2.0V for red LED)
5. Enter desired LED current (e.g., 20mA)
6. See the required resistor value and power rating

For 555 timer circuits:

1. Navigate to 555/ folder
2. Open 555-astable-calculator.html
3. Enter R1, R2, and C values
4. See calculated frequency and duty cycle
5. Adjust values to meet your timing requirements

For resistor color codes:

1. Navigate to electronics/ folder
2. Open electronics-resistor-calculator.html
3. Select color bands from the dropdowns
4. See the decoded resistance value and tolerance
5. Visual resistor updates in real-time

For volume measurements:

1. Navigate to general/ folder
2. Open general-volume-measurement.html
3. Enter dimensions or volume values
4. See conversions and measurements
5. Use for practical everyday calculations

Technical Details

  • Built with: Pure HTML5, CSS3, and vanilla JavaScript
  • Graphics: SVG for scalable circuit diagrams and component visualizations
  • Compatibility: Works in all modern browsers (Chrome, Firefox, Safari, Edge)
  • No Dependencies: No frameworks, libraries, or external resources required
  • Offline Ready: Download and use without internet connection

Project Structure

interactive-html/
├── index.html                            # Landing page with tool browser
├── LICENSE                               # MIT License
├── README.md                             # This file
├── task.bat                              # Build/deployment script
├── Templates/
│   └── page.html                         # Master template file
├── css/
│   └── style.css                         # Global stylesheet
├── img/
│   └── favicon.svg                       # Site icon
├── docs/
│   ├── DESIGN_SYSTEM.md                  # Color palette and design guidelines
│   ├── QUICK_START.md                    # Developer quick start guide
│   └── STRUCTURE.md                      # Template structure visualization
├── general/
│   ├── index.html                        # General tools landing page
│   └── general-volume-measurement.html   # Volume measurement calculator
├── 555/
│   ├── index.html                        # 555 timer tools landing page
│   ├── 555-timer-simulator.html          # Main 555 timer simulator
│   ├── 555-astable-calculator.html       # 555 astable mode calculator
│   ├── 555-monostable-simulator.html     # 555 monostable simulator
│   └── 555-logic-simulator.html          # 555 logic configurations
└── electronics/
    ├── index.html                        # Electronics tools landing page
    ├── electronics-resistor-calculator.html
    ├── electronics-parallel-resistor-calculator.html
    ├── electronics-fusible-resistor-calculator.html
    ├── electronics-led-current-calculator.html
    ├── electronics-ohms-law-calculator.html
    ├── electronics-voltage-divider-calculator.html
    ├── electronics-potentiometer-simulator.html
    ├── electronics-potentiometer-decoder.html
    ├── electronics-surface-mount-decoder.html
    └── electronics-varistor-simulator.html

Template System

This project uses a Dreamweaver-style template system for consistent navigation and styling across all pages. All HTML files inherit from Templates/page.html.

For Users

No special setup needed - just open any HTML file in your browser. The template system works automatically.

For Developers

Managing Templates with html-dwt-cmd

To update all pages when you modify the template, use the html-dwt-cmd-template CLI tool:

Installation:

git clone https://github.com/isocialPractice/html-dwt-cmd-template.git
cd html-dwt-cmd-template
npm install
npm run compile
npm link  # Optional: makes html-dwt-cmd available globally

Usage Example:

# Update all HTML files after modifying Templates/page.html
html-dwt-cmd update-all Templates/page.html --auto-apply

# Update without creating backups (faster, but no rollback option)
html-dwt-cmd update-all Templates/page.html --auto-apply --no-backup

What it does:

  • Scans all HTML files using the template
  • Creates automatic backups in .html-dwt-cmd-template-backups/
    • Use --no-backup to disable creation of backup directory from tool.
  • Updates non-editable template content (navigation, header, footer)
  • Preserves editable regions (page title, styles, content)
  • Ensures consistency across all 15+ pages

Manual Template Structure

Each HTML file follows this pattern:

<!-- InstanceBegin template="/Templates/page.html" -->
<head>
  <link rel="stylesheet" href="style.css">
  <link rel="icon" href="favicon.svg">
  
  <!-- InstanceBeginEditable name="head" -->
  <title>Page Title</title>
  <style>/* Page-specific styles */</style>
  <!-- InstanceEndEditable -->
</head>
<body>
  <nav class="site-nav"><!-- Global navigation --></nav>
  
  <!-- InstanceBeginEditable name="page" -->
  <!-- Page content here -->
  <!-- InstanceEndEditable -->
</body>

See QUICK_START.md and STRUCTURE.md for detailed documentation.

Use Cases

For Students

  • Learn electronics concepts through interactive visualization
  • Verify homework calculations
  • Understand component behavior and circuit operation

For Hobbyists

  • Design LED projects with proper current limiting
  • Calculate 555 timer values for projects
  • Decode resistor color codes quickly
  • Plan voltage divider circuits

For Professionals

  • Quick reference calculations
  • Prototype circuit design
  • Component selection assistance
  • Educational demonstrations

Browser Compatibility

Browser Minimum Version
Chrome 60+
Firefox 55+
Safari 11+
Edge 79+

License

This project is licensed under the MIT License - see the LICENSE file for details.

What this means:

  • ✅ Free to use for personal and commercial projects
  • ✅ Free to modify and distribute
  • ✅ No warranty or liability
  • ✅ Attribution appreciated but not required

Contributing

Contributions are welcome! Feel free to:

  • Report bugs or issues
  • Suggest new features or tools
  • Submit pull requests
  • Improve documentation

Contact

For questions, suggestions, or issues, please open an issue in this repository.

About

Interactive html pages that demonstrate concepts for engineering related subject matters.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published