⏱️ 45 minutes
Stop Starting from Scratch Every Week
Build a smart HTML form that transforms your weekly data into professionally formatted reports with one click. No more rewriting the same email structure every Friday!
🎯 Learning Objectives
- Create a form-based report generator
- Auto-format data into professional email templates
- Implement one-click copy functionality
- Save report data for future reference
- Generate PDF exports (optional)
🏗️ What We're Building
A local HTML tool that includes:
- ✅ Input form for weekly metrics (meetings, events, consultations)
- 📝 Text areas for achievements, challenges, and priorities
- 🎨 Auto-formatting into professional email template
- 📋 One-click "Copy Report" button
- 💾 Save data to browser localStorage
- 📄 Optional PDF export
- 🔄 Clear form / Load previous week functions
🚀 Step-by-Step Build Process
Create Project Structure
- Open VSCodium to your CoordinatorTools folder
- Right-click in Explorer → "New Folder" → name it
reports - Right-click
reportsfolder → "New File" → name itweekly-generator.html
Your folder structure:
📁 CoordinatorTools/
📁 dashboard/
📄 index.html
📁 reports/
📄 weekly-generator.html
Prepare the AI Prompt
Copy this complete prompt:
Create an HTML Weekly Report Generator with these features:
FORM INPUTS:
- Week dates (start and end date pickers)
- Number of student meetings held (number input)
- Number of faculty consultations (number input)
- Events organized this week (text input)
- Key achievements (text area, 4-5 lines)
- Challenges faced (text area, 3-4 lines)
- Next week priorities (text area, 4-5 lines)
- Special announcements (optional text area)
FUNCTIONALITY:
1. "Generate Report" button that creates formatted output
2. Report preview section that displays formatted email
3. "Copy to Clipboard" button
4. "Clear Form" button
5. "Save Draft" button (uses localStorage)
6. "Load Last Report" button
REPORT FORMAT:
Subject: Weekly Report - [Week Dates]
Dear Team,
Here's a summary of this week's activities:
METRICS:
- Student Meetings: [number]
- Faculty Consultations: [number]
- Events: [list]
KEY ACHIEVEMENTS:
[bulleted list]
CHALLENGES:
[bulleted list]
NEXT WEEK PRIORITIES:
[bulleted list]
[Special Announcements section if filled]
Best regards,
[Your Name - customizable]
STYLING:
- Professional teal/blue theme
- Clear sections with labels
- Responsive layout
- Easy-to-read preview
- Success/error notifications
Include complete HTML with embedded CSS and JavaScript.
Generate with AI
- Paste prompt into ChatGPT, Claude, or Gemini
- Wait for complete HTML generation
- Review code for completeness
Implement in VSCodium
- Copy all AI-generated code
- Click on
weekly-generator.htmlin VSCodium - Paste code into editor
- Save (Ctrl+S)
Test Your Generator
- Right-click file → "Reveal in File Explorer"
- Double-click
weekly-generator.html - Fill in sample data:
- Week: Feb 3-7, 2025
- Meetings: 12
- Consultations: 5
- Events: Career Fair, Study Skills Workshop
- Achievement: Successfully launched mentorship program
- Click "Generate Report"
- Review formatted output
- Click "Copy to Clipboard"
- Paste into email client to verify
Test Save/Load Functions
- Fill form with data
- Click "Save Draft"
- Clear the form
- Click "Load Last Report"
- Verify data reappears
💡 Pro Tips for Weekly Reports
- Set a Reminder: Every Friday at 3pm to fill out report
- Track Throughout Week: Keep running list of achievements
- Consistent Format: Recipients will appreciate predictability
- Quantify When Possible: Numbers make impact clear
- Save Historical Data: Export/save old reports for annual reviews
- Customize Template: Adjust format to match your supervisor's preferences
🎨 Customization Ideas
Add More Fields:
Prompt: "Add these fields to my report generator: Budget spending this week, New partnerships, Student success stories"
Change Report Format:
Prompt: "Format the report as bullet points instead of paragraphs"
Add Charts:
Prompt: "Add a simple bar chart showing meeting numbers over last 4 weeks"
Email Integration:
Prompt: "Add a 'Send Email' button that opens email client with pre-filled message"
✅ Privacy Benefit: This tool runs entirely in your browser. No data is sent to any server. Your reports stay on your computer unless you explicitly share them.
🔗 Link from Your Dashboard
Add this tool to your Coordinator Portal:
- Open your
dashboard/index.html - Find the tools section
- Add a new card linking to
../reports/weekly-generator.html - Or ask AI: "Add a tool card for my Weekly Report Generator at ../reports/weekly-generator.html"
✅ Topic Completion Checklist
- ✓ Created reports folder and weekly-generator.html file
- ✓ Generated complete report tool with AI
- ✓ Form accepts all required inputs
- ✓ Report generates with proper formatting
- ✓ Copy to clipboard works correctly
- ✓ Save/load functions persist data
- ✓ Tested by creating a sample report
- ✓ Linked from dashboard (optional but recommended)
🎓 What You've Learned
- Form handling with HTML inputs
- Template strings and string interpolation
- Clipboard API for copy functionality
- localStorage for data persistence
- Date pickers and number inputs
- Dynamic content generation