A responsive Body Mass Index (BMI) Calculator built using HTML, CSS, and JavaScript, integrated with SpreadsheetWeb API.
Open script.js
and locate the following section:
const API_URL = "https://YOUR-SERVER-DOMAIN/api/calculations/calculatesinglesimple";
const WORKSPACE_ID = "YOUR_WORKSPACEID";
const APPLICATION_ID = "YOUR-APPLICATIONID";
Replace:
API_URL
with your own SpreadsheetWeb private server address.WORKSPACE_ID
andAPPLICATION_ID
with the correct values from your SpreadsheetWeb Hub.
🔐 Note: Each server has its own URL. Do not use the demo domain in production.
Upload the files to a private domain (e.g., https://tools.yourcompany.com/bmi
).
Do not use localhost unless it’s added to the allowed list in SpreadsheetWeb.
- ✅ Enable "Allow Anonymous Access"
- ✅ Whitelist your domain under Allowed Domains
index.html - UI layout
style.css - Styling
script.js - Logic and API integration
README.md - Documentation
- No backend needed
- Secure and configurable
- Reusable with different SpreadsheetWeb apps
MIT