[ 'desc' => 'Learns best using diagrams, visuals, charts, and videos.', 'plan' => [ 'Use diagrams, flowcharts, and mind maps', 'Watch concept videos before reading', 'Highlight important points with colours', 'Revise using visual notes', 'Prefer presentations over long text' ], 'do' => [ 'Use images and visual aids', 'Explain concepts using charts', 'Allow visual note-taking' ], 'dont' => [ 'Avoid text-only explanations', 'Do not rush without visuals', 'Avoid dull, long lectures' ] ], 'Practical' => [ 'desc' => 'Learns best by doing, practicing, and hands-on activities.', 'plan' => [ 'Learn by solving problems', 'Practice immediately after learning', 'Use real-life examples', 'Participate in labs and activities', 'Learn from mistakes' ], 'do' => [ 'Give hands-on tasks', 'Encourage experimentation', 'Allow trial-and-error learning' ], 'dont' => [ 'Avoid theory-only teaching', 'Do not restrict practice', 'Avoid long passive sessions' ] ], 'Logical' => [ 'desc' => 'Learns best through logic, structure, and step-by-step explanation.', 'plan' => [ 'Study in a structured order', 'Understand logic behind concepts', 'Use formulas and rules', 'Break problems into steps', 'Revise using concept maps' ], 'do' => [ 'Explain step-by-step', 'Provide reasoning', 'Use structured material' ], 'dont' => [ 'Avoid random explanations', 'Do not skip steps', 'Avoid unclear instructions' ] ], 'Reflective' => [ 'desc' => 'Learns best by thinking deeply and reflecting quietly.', 'plan' => [ 'Study alone in quiet environment', 'Think before answering', 'Write personal notes', 'Revise by recalling', 'Maintain a learning journal' ], 'do' => [ 'Give thinking time', 'Encourage self-reflection', 'Allow independent study' ], 'dont' => [ 'Avoid forcing instant answers', 'Avoid constant group pressure', 'Avoid interruptions' ] ] ]; $data = $content[$style] ?? $content['Visual']; /* -------- HTML DESIGN -------- */ $html = "
Learning Style Report
$student " . ($roll ? "| Roll No: $roll" : "") . "
Date: $date
{$data['desc']}