Download Source Code

Development Notice: This page is for development and testing purposes only. It will be removed before public deployment.

Full Website Source Code

Download the complete source code for OhmLab including all HTML files, CSS stylesheets, JavaScript calculators, and assets used in the website.

OhmLab is a resistance calculator toolkit focused on resistor color codes, series and parallel resistance, and voltage divider analysis. The source can help students learn how these formulas are implemented in practical web tools.

What's Included

  • HTML Files: All 11 web pages including calculators and legal pages
  • CSS Stylesheets: Complete styling with Material Design theme
  • JavaScript Files: All calculator logic and navigation code
  • Responsive Design: Mobile-friendly layouts and breakpoints
  • Navigation System: Fully functional hamburger menu and side drawer

File Structure

The download will contain the following files:

  • index.html
  • resistor-color-code.html & .js
  • series-resistance.html & .js
  • parallel-resistance.html & .js
  • voltage-divider.html & .js
  • about.html
  • contact.html & .js
  • privacy-policy.html
  • disclaimer.html
  • terms.html
  • source-download.html & .js
  • styles.css
  • navigation.js

Technical Details

  • Technology Stack: Pure HTML, CSS, JavaScript
  • No Dependencies: No external libraries required
  • Browser Support: Modern browsers (Chrome, Firefox, Safari, Edge)
  • License: Educational use

Project Goals

The project aims to stay lightweight, accessible, and easy to study. Future releases will expand calculator coverage and documentation so students can follow the reasoning behind each electrical formula.

Resistor History & Fun Facts

Resistors have changed a lot over the decades, from bulky carbon sticks to laser-trimmed surface-mount components. Fun fact: the common E12 and E24 resistor series were created so manufacturers could standardize values while keeping tolerances practical. If you're exploring the source code, you’ll see how those standard values are handled in real calculator logic.

Usage

  1. Click the download button above
  2. Extract the ZIP file to your desired location
  3. Open index.html in a web browser to view the site
  4. Edit files as needed for your project
  5. Deploy to any web server or hosting service

Remember: This download page will not be available in the production version of the website.