diff --git a/public/js/assessment.js b/public/js/assessment.js index cacec2b..5f2fc9b 100644 --- a/public/js/assessment.js +++ b/public/js/assessment.js @@ -7,23 +7,34 @@ (function($) { 'use strict'; - $(function() { + $(function() { // Document Ready console.log('Assessment script loaded.'); // Check if localized data is available if (typeof quiztech_assessment_vars === 'undefined') { console.error('Quiztech Assessment Error: Localized variables not found.'); + // Optionally display an error message to the user + $('.assessment-container').prepend('