Create a Custom Moodle Question Type (Click Hotspot Based on Drag-and-Drop Marker)
Budget: $30 – $250 USD
am looking for a skilled Moodle developer to build a custom question type plugin that allows students to click on an image to select an answer (instead of dragging and dropping markers like the existing plugin).
The plugin should be based on or modeled after the Drag and Drop Marker question type:
https://moodle.org/plugins/qtype_ddmarker
However, instead of dragging markers, the student will simply click a location on the image, and this will be stored and used for grading.
⸻
Core Requirements:
• Extend the structure of the ddmarker plugin to create a new plugin named clickhotspot
• Replace drag-and-drop interactions with simple click-to-select interactions
• Student responses should be stored as (x, y) coordinates
• Admin interface to define regions (rectangles or shapes) on an image as correct zones
• Grading logic: student gets a mark if their click falls inside any correct region
• Proper database structure via install.xml
• JavaScript frontend using Konva.js or HTML5 Canvas (AMD module compatible)
• Fully Moodle 4.x compatible
• Deliver a plugin that installs via ZIP and passes Moodle validation
The plugin should be based on or modeled after the Drag and Drop Marker question type:
https://moodle.org/plugins/qtype_ddmarker
However, instead of dragging markers, the student will simply click a location on the image, and this will be stored and used for grading.
⸻
Core Requirements:
• Extend the structure of the ddmarker plugin to create a new plugin named clickhotspot
• Replace drag-and-drop interactions with simple click-to-select interactions
• Student responses should be stored as (x, y) coordinates
• Admin interface to define regions (rectangles or shapes) on an image as correct zones
• Grading logic: student gets a mark if their click falls inside any correct region
• Proper database structure via install.xml
• JavaScript frontend using Konva.js or HTML5 Canvas (AMD module compatible)
• Fully Moodle 4.x compatible
• Deliver a plugin that installs via ZIP and passes Moodle validation