USER TASK SPECIFICATION: Create an interactive HTML5 auto-detect about Express Fractions as Single Fraction. TARGET AUDIENCE: Secondary 1-2 - Mathematics INTERACTIVE REQUIREMENTS: - Educational content suitable for Secondary 1-2 students - User interaction via sliders, buttons, checkboxes, or other appropriate controls - Include visualizations (2D graphics) - Display real-time changes in graphs, values, or visual feedback - Self-contained in one HTML file with embedded CSS and JavaScript - Add clear labels, legends, and explanations for all elements - **MOBILE-RESPONSIVE**: Must work on phones (viewport meta tag, touch events, min 44px touch targets) - **TOUCH-ENABLED**: Drag-and-drop must work with touch (touchstart/touchmove/touchend events) SPECIFIC REQUIREMENTS: - Step-by-step solution reveal with hints and “Why?” explanations - Randomized problem generator (seeded) for varied practice - Equation input with on-screen math keyboard and LaTeX rendering - Unit handling/validation and clear messages for common mistakes - Dynamic graphs/diagrams with draggable points and live readouts - Guided steps: find LCM of denominators, convert to equivalent fractions, operate, then simplify - Visual models (bars/pies) synchronized with numeric steps - Error-detection for common mistakes (e.g., adding denominators directly) with corrective hints LEARNING OUTCOMES: - Students should be able to explore and understand Express Fractions as Single Fraction - Interactive elements should reveal key concepts through manipulation - Visual feedback should reinforce learning objectives - Design should encourage experimentation and discovery REAL-TIME DATA ANALYTICS (Critical for Learning Assessment): FOR SIMULATION/INTERACTIVE TOOLS: - Implement a real-time action log showing: * Timestamp of each action (using relative time: t=0s, t=3s, etc.) * Description of action taken (e.g., "Slider moved to 45°", "Reset button clicked") * Current state/values after action * Sequential log of all interactions - Display action log in a clear, scrollable panel - Use Unicode symbols to mark different action types - Purpose: Allow teachers to understand student exploration patterns and thinking process ANALYTICS PLACEMENT: - Position analytics panel at the bottom or side of the interactive - Make it collapsible/toggleable to not interfere with main interaction - Ensure analytics update in real-time as student interacts - Include a "Clear Log" or "Reset Analytics" button INTERACTION FEATURES TO INCLUDE: - Input controls (sliders/buttons) with clear labels and units - Real-time visual updates based on user input - Graphs or diagrams that respond to changes - Brief explanatory text or tooltips for context - Reset functionality to return to default state - **Real-time analytics panel tracking student actions for learning assessment** VISUAL DESIGN REQUIREMENTS: - Use appropriate color schemes for educational content - Ensure sufficient contrast for readability - Include visual hierarchy to guide attention - Use animations judiciously to demonstrate concepts - Maintain consistency in design elements Please create a complete, functional HTML5 interactive that meets all requirements above. The output should be a single HTML file ready to be embedded in an LMS or opened directly in a browser. Refine: for problem greater than 1, can you represent them as greater than 1 for example 2/8 + 9/6 = ? can 9/6 can be represented as 6/6 + 3/6 blocks of the same color? Refine 2: (Pro Tip: I used ChatGPT image capability to ask for text to paste inside refine text) for problem like 1/4 × 1/2 = ? the visualisation should not be 2 blocks side by side that is geat for + and - the x visualisation should be one block horizontal and the other vertical, so that the interection is the shading color representing the answer A rectangle is divided into equal parts. The full height is 1, and the shaded height is 1/2. The full width is 1, and the shaded width is 1/4. The overlapping shaded region represents 1/4 of 1/2 of the whole rectangle. So in text form for an AI: “Take 1/2 of a rectangle, then take 1/4 of that region. The overlapping area represents the product 1/4 × 1/2.” And the result is: 1/4 × 1/2 = 1/8 Refine 3: (ask for specific edits) steps-container, can make the steps-container a resizable panel, it currently in still difficult to see the full conatiner, perhaps make it expandable and draggable and resizable to accommodate all use case