Print

HTML5 + xAPI: Tracking Student Interactions in SLS for 21CC Analytics

link




The Student Learning Space (SLS) is increasingly moving towards leveraging learning analytics to understand and enhance 21st Century Competencies (21CC). One powerful way to achieve this is by integrating HTML5 interactives with xAPI (Experience API) to record and analyze student attempts within class group assignments. Below is a roadmap for developing such a solution and harnessing the data to generate meaningful descriptors of students’ 21CC levels.


Step 1: Understand the Role of xAPI

 
https://www.learning.moe.edu.sg/teacher-user-guide/author/html5-content-development/


xAPI (also called Tin Can API) is a modern learning technology standard that records learning experiences as “statements” in the form of “Actor – Verb – Object” (e.g., “John completed the drag-and-drop challenge”). These statements are sent to a Learning Record Store (LRS) in SLS for tracking as teacher's comment in the interactive response question type.

Why xAPI for SLS?

 

Step 2: Build the HTML5 Interactive

 

Create an HTML5 simulation or quiz using JavaScript and CSS. The HTML5 file should:

  1. Capture key student interactions (e.g., clicks, drag actions, time spent).

  2. Store attempt data, such as scores, number of retries, and hints used.

  3. Send Final Score and Feedback of these actions to the SLS-LRS via xAPI calls.

For example, when a student completes a puzzle, your JavaScript might send:

javascript
 
ADL.XAPIWrapper.sendStatement({ "actor": {"name": "Student Name", "mbox": "mailto:This email address is being protected from spambots. You need JavaScript enabled to view it."}, "verb": {"id": "http://adlnet.gov/expapi/verbs/completed", "display": {"en-US": "completed"}}, "object": {"id": "http://example.com/interactive#puzzle1", "definition": {"name": {"en-US": "Puzzle 1"}}}, "result": {"score": {"raw": 8, "max": 10}, "success": true} });

Step 3: Integrate xAPI with SLS

 

When embedding the HTML5 in an SLS class assignment:


Step 4: Harness the Data

 

Using a class group assignment , find the teacher's comments provided by the HTML5 that stored and pass these student's interaction to SLS.

 

https://vle.learning.moe.edu.sg/class-group/assignment/monitor/6344cb89-f225-4cbb-8b12-c72c70181da9/module/c57ab077-dc4f-4dfa-9f4d-c0ee2488e7b9/section/91751210/activity/91751212/component/489916003/question/866ab393-36b7-4066-927a-94170ecb2e8d/aggregate-attempt?question=Q1&anchor=714378 



Once xAPI statements flow into the SLS-LRS, you can aggregate copy the data out to ChatGPT https://chatgpt.com/share/688af137-8ab0-8008-8a1a-6f56dbf79627  to provide 21CC descriptors and it's analysis shown.


Step 5: Visualize in LLM and paste Report back into SLS

teachers can see: https://chatgpt.com/share/688af137-8ab0-8008-8a1a-6f56dbf79627 

https://chatgpt.com/share/688af137-8ab0-8008-8a1a-6f56dbf79627

 


Step 6: Translate Data into Action

The descriptors can inform:


Conclusion

By combining HTML5 interactivity, xAPI tracking, and thoughtful analytics, educators can transform SLS assignments into rich data sources that go beyond scores. This data-driven approach allows teachers to observe, measure, and support 21CC competencies in ways that are both meaningful and actionable.

1 1 1 1 1 1 1 1 1 1 Rating 0.00 (0 Votes)
Category: Student Learning Space
Hits: 604