From a49c9988133c582f4f18744585072ac992e13820 Mon Sep 17 00:00:00 2001 From: Helen-con <196573651+Helen-con@users.noreply.github.com> Date: Sun, 19 Oct 2025 19:09:01 +0100 Subject: [PATCH] Add parent, teacher, and self-report SDQ assessments --- README.md | 10 ++- index.html | 31 +++++--- script.js | 221 ++++++++++++++++++++++++++++++++++++++++------------- styles.css | 64 ++++++++++++++++ 4 files changed, 261 insertions(+), 65 deletions(-) diff --git a/README.md b/README.md index f6ec667..d13c1f2 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@ This project provides a browser-based version of the Strengths and Difficulties Questionnaire (SDQ). It guides the assessor through each of the 25 SDQ items one at a time, calculates subscale and total difficulties scores, and generates an interpretation with an option to export the results as a PDF. +The app now supports all three SDQ informant versions: parent/carer, teacher, and self-report for +young people aged 11–17. ## Features @@ -11,13 +13,15 @@ difficulties scores, and generates an interpretation with an option to export th - Narrative interpretation highlighting areas that fall outside the normal band - Exportable PDF report summarising scores and findings - Ability to restart the assessment and capture a fresh set of responses +- Built-in scoring bands for parent/carer, teacher, and self-report questionnaires ## Getting started 1. Open `index.html` in a modern web browser. -2. Answer each question sequentially. The **Generate Results** button appears on the final item. -3. Review the calculated scores and findings. -4. Optionally export the summary as a PDF or start again to capture new responses. +2. Enter optional metadata (identifier, date) and choose the SDQ questionnaire version. +3. Answer each question sequentially. The **Generate Results** button appears on the final item. +4. Review the calculated scores and findings tailored to the selected informant version. +5. Optionally export the summary as a PDF or start again to capture new responses. > **Note:** Scoring bands reflect the UK SDQ guidance for ages 4–17. The digital tool supports screening and discussion but does not replace clinical judgement. diff --git a/index.html b/index.html index 8cd412d..d63908e 100644 --- a/index.html +++ b/index.html @@ -14,18 +14,30 @@

Strengths and Difficulties Questionnaire (SDQ)

- Complete each question in sequence. Select the response that best describes the child's behaviour over the - past six months. Results include subscale scores, total difficulties, and interpretation guidance. + Complete each question in sequence. Select the response that best describes behaviour over the past six + months. Choose the appropriate questionnaire version for parents and carers, teachers, or self-reporting + young people (ages 11–17).

-
- - - - -
-
+
+
+ + +
+
+ + +
+
+ + +
+
@@ -48,6 +60,7 @@

Question text