Energy Engineering
Select Your Desired Result
Choose your focus for today.
Track Energy
Gain awareness of your daily energy flow. Free up energy and gain time to align with what lights you up.
Energy Reset Practices
Use energy healing practices to reset your nervous system and get immediate relief.
Low-Fidelity Prototype
Initial hand-drawn wireframe sketch exploring the Energy Engineering app flow and layout.
Core Function Draft
This core function supports the Energy Engineering app by helping users track activities that either build or drain their energy. The function collects user input, categorizes activities, stores tracking data, and prepares the information for AI-driven insights and prioritization.
function trackEnergyActivity(activityData) {
// AI will help:
// - categorize the activity
// - determine if the activity is energy building or draining
// - identify trends over time
// - recommend automation or reduction opportunities
// - generate personalized wellness insights
}
Function Mapping
The following functions map the major features of the Energy Engineering prototype to the technical functionality required to support the user experience.
Energy Tracking Form
Function: saveActivity()
Saves the userβs energy tracking input, including activity details, category, time, and energy impact.
Energy Impact Selection
Function: setImpact(type)
Updates the activity status as either energy building or energy draining.
Energy Dashboard Display
Function: renderActivities()
Displays all tracked activities in categorized lists and updates the dashboard dynamically.
Edit Activity Entries
Function: editActivity(index)
Allows users to modify previously saved energy tracking activities.
Delete Activity Entries
Function: deleteActivity(index)
Removes unwanted or incorrect activity entries from the tracker dashboard.
Energy Reset Practice Selection
Function: openPractice(title, time)
Loads the selected audio, video, or reset practice into the media player screen.
Journal Saving
Function: saveJournal()
Saves the userβs journal reflections and allows future editing of responses.
Screen Navigation
Function: showScreen(screenId)
Controls navigation between prototype screens and prevents dead-end navigation.
Project Notebook Navigation
Function: loadURL(element)
Loads different Design Thinking Notebook stages from the sidebar navigation.
AI Energy Insights
Future Function: generateAIInsights(activityData)
Analyzes user trends and recommends opportunities to reduce burnout, automate tasks, and improve wellbeing.
JavaScript Code Generation
For this activity, I used AI-assisted prompt engineering to generate JavaScript functionality for the Energy Engineering prototype. The application helps users track activities that either build or drain their energy while supporting wellness practices and future AI-generated insights.
Prompt Used
βI am building a web prototype for professionals experiencing burnout and energy overload in the workplace. I need a JavaScript function that saves user activity tracking data, categorizes activities as energy building or energy draining, and dynamically updates a dashboard display. Please provide the HTML setup and the JavaScript code. You must include detailed, step-by-step comments in the JavaScript explaining what each line of code does so I can learn from it and debug it if necessary.β
AI-Generated JavaScript Code
function saveActivity() {
// Collect the activity name entered by the user
const activity = document.getElementById("activity").value;
// Collect the selected date from the form
const date = document.getElementById("date").value;
// Collect the selected time from the form
const time = document.getElementById("time").value;
// Collect the summary statement entered by the user
const summary = document.getElementById("summary").value;
// Collect the selected activity category
const category = document.getElementById("category").value;
// Add the collected activity data into the activities array
activities.push({
activity,
date,
time,
impact: selectedImpact,
summary,
category
});
// Clear the form fields after saving the activity
clearForm();
// Navigate the user to the Energy Tracker dashboard screen
showScreen("trackerDashboard");
}
Reflection
The JavaScript functionality worked well overall and most of the core interactions functioned correctly on the first implementation attempt. Some troubleshooting was required for screen layout, responsive behavior, and proper placement of HTML and CSS sections within the prototype.
Using AI-assisted code generation helped accelerate the development process and improved my understanding of how frontend interactions connect to application logic. It also demonstrated how prompt engineering can support rapid prototyping while still allowing customization, debugging, and iterative refinement of the user experience.
Stage 4: Prototyping Summary
Web Studio Project Link
Energy Engineering Prototype:
https://codecraftworks.dev/web/PWNFks6jbuj9LKiUzQJD/?v=660
What You Built
During the Stage 4 Prototyping phase, we developed an interactive web prototype called Energy Engineering using the Codecraft Works Web Studio. The prototype was designed to help users gain awareness of their daily energy flow, identify activities that either build or drain energy, and explore wellness-based energy reset practices to reduce burnout and improve sustainable performance.
The prototype includes a home screen with user goal selection, an energy tracking workflow, an energy tracking dashboard, energy reset and wellness practice screens, guided journaling prompts, AI insight concepts, prioritization features, export-to-Excel functionality concepts, project management system API integration concepts, and a responsive mobile-first interface.
Challenges & Learnings
One of the biggest challenges during development was troubleshooting navigation, screen rendering, and dynamic JavaScript behavior while keeping the application responsive across both mobile and desktop layouts. Several iterations were required to properly connect screens, populate dashboard data dynamically, organize the HTML/CSS/JavaScript code, and refine the overall user experience.
Another challenge involved balancing wellness-focused design with systems engineering and productivity optimization concepts. Through iterative testing, AI-assisted debugging, and continuous refinement, we improved both the technical functionality and the user experience.
Demonstration of Iteration
To continue improving the prototype, I plan to clone this current version of the Energy Engineering application and experiment with different graph and visualization options for the Energy Tracking Dashboard. The goal of future iterations is to better visualize the percentage of energy lost, gained, or maintained per day using more advanced charts and data visualization techniques.
Track an Activity
Energy Tracker
AI Insight
Recurring administrative and meeting-based tasks may be candidates for automation, delegation, or workflow redesign.
Energy Trend by Day
Energy Tracking Activities
| Date | Time | Activity | Impact | AI Category | Summary | Prioritize | Edit/Delete |
|---|
Priorities to Free Up Energy
Only selected energy-draining activities appear here for automation, delegation, or reduction.
Energy Reset Practices
Choose a practice to reset and recharge.
Meditation Audio
10 min
Audio/Video Prototype
This would autoplay in the full version.