• Bookmarks

    Bookmarks

  • Concepts

    Concepts

  • Activity

    Activity

  • Courses

    Courses


3

📚 Comprehensive Educational Component Library

Interactive Learning Components for Modern Education

Testing 10 educational component types with comprehensive examples

1. TEXT BLOCK

Component Type: TEXT_BLOCK

Airtable is a cloud-based database service that combines the features of a database with a spreadsheet interface. MCP (Middleware Control Panel) allows for seamless integration and querying of Airtable databases.

2. DIAGRAM

Component Type: DIAGRAM

Unknown Component

Component type "DIAGRAM" is not supported.

View Component Data
{
  "id": 5552,
  "section_id": "visual-learning",
  "section_name": "Visual Learning: Database Structure",
  "section_icon": "🖼️",
  "section_description": "Explore the structure of Airtable databases and how to visualize them.",
  "estimated_time": 10,
  "component_type": "DIAGRAM",
  "variant": "database-schema",
  "display_order": 1,
  "component_data": {
    "diagram_url": "https://example.com/airtable_schema.png",
    "description": "Airtable Database Schema"
  },
  "created_at": "2025-07-30T13:16:02.000000Z",
  "updated_at": "2025-07-30T13:16:02.000000Z"
}

3. CODE BLOCK

Component Type: CODE_BLOCK

const query = `SELECT * FROM components WHERE type='UI'`; // Example query

4. EXERCISE

Component Type: EXERCISE

Unknown Component

Component type "EXERCISE" is not supported.

View Component Data
{
  "id": 5556,
  "section_id": "hands-on-practice",
  "section_name": "Hands-on Practice: Building JSON Objects",
  "section_icon": "🛠️",
  "section_description": "Practice creating JSON objects from queried data.",
  "estimated_time": 15,
  "component_type": "EXERCISE",
  "variant": "json-construction",
  "display_order": 1,
  "component_data": {
    "task": "Create a JSON object for a UI component using the queried data.",
    "example_output": "{ 'component': 'button', 'properties': { 'color': '#0073e6', 'size': 'medium' } }"
  },
  "created_at": "2025-07-30T13:16:02.000000Z",
  "updated_at": "2025-07-30T13:16:02.000000Z"
}

5. TEXT BLOCK

Component Type: TEXT_BLOCK

Common mistakes include incorrect query syntax, not handling API rate limits, and misunderstanding JSON structure requirements.

6. IMAGE GALLERY

Component Type: IMAGE_GALLERY

Image 1
Image 2

7. COLOR PALETTE

Component Type: COLOR_PALETTE

Unknown Component

Component type "COLOR_PALETTE" is not supported.

View Component Data
{
  "id": 5553,
  "section_id": "visual-learning",
  "section_name": "Visual Learning: Database Structure",
  "section_icon": "🖼️",
  "section_description": "Explore the structure of Airtable databases and how to visualize them.",
  "estimated_time": 10,
  "component_type": "COLOR_PALETTE",
  "variant": "theme",
  "display_order": 2,
  "component_data": {
    "colors": [
      "#0073e6",
      "#ffcc00",
      "#ffffff"
    ],
    "description": "Color theme for Airtable UI components"
  },
  "created_at": "2025-07-30T13:16:02.000000Z",
  "updated_at": "2025-07-30T13:16:02.000000Z"
}

8. SANDBOX CODE

Component Type: SANDBOX_CODE

Code Sandbox

🟨javascript

Modify the query to filter components by type.

Code Editor
Output
Click "Run" to execute code...
💡 This is a demo sandbox. In production, code execution would be properly sandboxed for security.

9. QUIZ

Component Type: QUIZ

Unknown Component

Component type "QUIZ" is not supported.

View Component Data
{
  "id": 5557,
  "section_id": "hands-on-practice",
  "section_name": "Hands-on Practice: Building JSON Objects",
  "section_icon": "🛠️",
  "section_description": "Practice creating JSON objects from queried data.",
  "estimated_time": 15,
  "component_type": "QUIZ",
  "variant": "json-quiz",
  "display_order": 2,
  "component_data": {
    "questions": [
      {
        "question": "What is the correct JSON format for a UI component?",
        "options": [
          "Option A",
          "Option B",
          "Option C"
        ],
        "correct_answer": "Option B"
      }
    ]
  },
  "created_at": "2025-07-30T13:16:02.000000Z",
  "updated_at": "2025-07-30T13:16:02.000000Z"
}

10. BEFORE AFTER

Component Type: BEFORE_AFTER

Unknown Component

Component type "BEFORE_AFTER" is not supported.

View Component Data
{
  "id": 5559,
  "section_id": "common-mistakes",
  "section_name": "Common Mistakes: Avoiding Pitfalls",
  "section_icon": "❌",
  "section_description": "Identify and avoid common mistakes when accessing Airtable databases.",
  "estimated_time": 10,
  "component_type": "BEFORE_AFTER",
  "variant": "mistake-correction",
  "display_order": 2,
  "component_data": {
    "before": "Incorrect JSON: { 'component': 'button', 'color': '#0073e6' }",
    "after": "Correct JSON: { 'component': 'button', 'properties': { 'color': '#0073e6' } }"
  },
  "created_at": "2025-07-30T13:16:02.000000Z",
  "updated_at": "2025-07-30T13:16:02.000000Z"
}