From 626d756b0ef6462e3571ee9c4df6aceddeb8d7a4 Mon Sep 17 00:00:00 2001 From: Kothari Date: Mon, 12 May 2025 15:40:41 +0530 Subject: [PATCH 01/14] Add html to check its rendering with JS Signed-off-by: Kothari --- input/pagecontent/endpoint_test.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 input/pagecontent/endpoint_test.html diff --git a/input/pagecontent/endpoint_test.html b/input/pagecontent/endpoint_test.html new file mode 100644 index 00000000000..5f665024031 --- /dev/null +++ b/input/pagecontent/endpoint_test.html @@ -0,0 +1,17 @@ + + + + + + + Today's Date + + + + + + + \ No newline at end of file From c275bde13d972c70e4bdf9227074d5b8a2735882 Mon Sep 17 00:00:00 2001 From: arajnor99 <153087310+arajnor99@users.noreply.github.com> Date: Tue, 13 May 2025 13:14:45 +0530 Subject: [PATCH 02/14] Create index.xml --- input/pagecontent/index.xml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 input/pagecontent/index.xml diff --git a/input/pagecontent/index.xml b/input/pagecontent/index.xml new file mode 100644 index 00000000000..a2a1cb72d99 --- /dev/null +++ b/input/pagecontent/index.xml @@ -0,0 +1,36 @@ +
+ + + +

Introduction

+ {% include intro.xml %} + + +

Participants

+ {% include img.html img="Participant_Onboarding_Status.jpg" caption="Latest Status" width ="70%" %} + +

Available Trust Domains

+ {% include available_trust_domains.xml %} + +

Ethical Considerations and Data Protection Principles

+

As with any digital solution, there are ethical considerations, such as potential impacts on equity and on equitable access, and data protection principles that need to inform the design of the technical specifications, as well as provide guidance on how resulting solutions can be ethically implemented. The following page discusses some key ethical considerations and data protection principles that Member States are encouraged to – and, where they have legal obligations, must – include in their respective deployments of digital solutions. These ethical considerations and data protection principles have also informed the design criteria for WHO’s SMART Guidelines and for the utilization of the WHO’s Global Digital Health Certification Network.

+ +

References

+ This Implementation Guide is based on the following References + +

Dependencies

+ {% include dependencies.xml %} + + +

Providing Feedback

+ {% include feedback.xml %} + +

Community

+ {% include community.xml %} +

Disclaimer

+ {% include disclaimer.xml %} +
From 24334c5d0766e97c5e8567c69d78729f5a0f0214 Mon Sep 17 00:00:00 2001 From: Kothari Date: Tue, 13 May 2025 15:32:58 +0530 Subject: [PATCH 03/14] update the files for preview --- input/pagecontent/deployment.md | 1 + input/pagecontent/index.xml | 36 --------------------------------- sushi-config.yaml | 2 ++ 3 files changed, 3 insertions(+), 36 deletions(-) delete mode 100644 input/pagecontent/index.xml diff --git a/input/pagecontent/deployment.md b/input/pagecontent/deployment.md index fe5faf2359e..69386bd2f84 100644 --- a/input/pagecontent/deployment.md +++ b/input/pagecontent/deployment.md @@ -15,6 +15,7 @@ This Implementation Guide contains the following deployment support guidance: {% include downloads.md %} {% include changes.md %} {% include endpoints.md %} +{%include endpoints_test.html%} diff --git a/input/pagecontent/index.xml b/input/pagecontent/index.xml deleted file mode 100644 index a2a1cb72d99..00000000000 --- a/input/pagecontent/index.xml +++ /dev/null @@ -1,36 +0,0 @@ -
- - - -

Introduction

- {% include intro.xml %} - - -

Participants

- {% include img.html img="Participant_Onboarding_Status.jpg" caption="Latest Status" width ="70%" %} - -

Available Trust Domains

- {% include available_trust_domains.xml %} - -

Ethical Considerations and Data Protection Principles

-

As with any digital solution, there are ethical considerations, such as potential impacts on equity and on equitable access, and data protection principles that need to inform the design of the technical specifications, as well as provide guidance on how resulting solutions can be ethically implemented. The following page discusses some key ethical considerations and data protection principles that Member States are encouraged to – and, where they have legal obligations, must – include in their respective deployments of digital solutions. These ethical considerations and data protection principles have also informed the design criteria for WHO’s SMART Guidelines and for the utilization of the WHO’s Global Digital Health Certification Network.

- -

References

- This Implementation Guide is based on the following References - -

Dependencies

- {% include dependencies.xml %} - - -

Providing Feedback

- {% include feedback.xml %} - -

Community

- {% include community.xml %} -

Disclaimer

- {% include disclaimer.xml %} -
diff --git a/sushi-config.yaml b/sushi-config.yaml index 13e5d2e6d47..3395055326b 100644 --- a/sushi-config.yaml +++ b/sushi-config.yaml @@ -122,6 +122,8 @@ pages: title: Changes endpoints.md: title: Endpoints + endpoints_test.html: + title: Test Endpoints indices.md: title: Indices artifacts.html: From 8da0329c8cd654339a95390d1261b1f48e6cb66c Mon Sep 17 00:00:00 2001 From: A200019059 Date: Tue, 13 May 2025 15:50:36 +0530 Subject: [PATCH 04/14] change endpoint_test extension to XML --- input/pagecontent/{endpoint_test.html => endpoint_test.xml} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename input/pagecontent/{endpoint_test.html => endpoint_test.xml} (87%) diff --git a/input/pagecontent/endpoint_test.html b/input/pagecontent/endpoint_test.xml similarity index 87% rename from input/pagecontent/endpoint_test.html rename to input/pagecontent/endpoint_test.xml index 5f665024031..3c85440044f 100644 --- a/input/pagecontent/endpoint_test.html +++ b/input/pagecontent/endpoint_test.xml @@ -2,8 +2,8 @@ - - + + Today's Date - - - - - - \ No newline at end of file + \ No newline at end of file From 53d89022e3011465b438060ac058f4073c4bcc2d Mon Sep 17 00:00:00 2001 From: A200019059 Date: Tue, 13 May 2025 16:16:38 +0530 Subject: [PATCH 06/14] related changes to previous commit Signed-off-by: A200019059 --- input/pagecontent/deployment.md | 2 +- sushi-config.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/input/pagecontent/deployment.md b/input/pagecontent/deployment.md index 69386bd2f84..2e99b718b6c 100644 --- a/input/pagecontent/deployment.md +++ b/input/pagecontent/deployment.md @@ -15,7 +15,7 @@ This Implementation Guide contains the following deployment support guidance: {% include downloads.md %} {% include changes.md %} {% include endpoints.md %} -{%include endpoints_test.html%} +{%include endpoints_test.xml%} diff --git a/sushi-config.yaml b/sushi-config.yaml index 3395055326b..f2f131a5079 100644 --- a/sushi-config.yaml +++ b/sushi-config.yaml @@ -122,7 +122,7 @@ pages: title: Changes endpoints.md: title: Endpoints - endpoints_test.html: + endpoints_test.xml: title: Test Endpoints indices.md: title: Indices From 6bd266ff12913275cc919332fe40026de421d99b Mon Sep 17 00:00:00 2001 From: A200019059 Date: Wed, 14 May 2025 15:10:10 +0530 Subject: [PATCH 07/14] update in sushi file with test endpoints Signed-off-by: A200019059 --- sushi-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/sushi-config.yaml b/sushi-config.yaml index f2f131a5079..42b32e7ee7f 100644 --- a/sushi-config.yaml +++ b/sushi-config.yaml @@ -170,6 +170,7 @@ menu: Downloads: downloads.html Changes: changes.html Endpoints: endpoints.html + Test Endpoints: endpoints_test.html Indices: Artifact Index: artifacts.html References: references.html From eb09a376042beff18ca71e29dd38eda60ab12729 Mon Sep 17 00:00:00 2001 From: A200019059 Date: Wed, 14 May 2025 16:23:54 +0530 Subject: [PATCH 08/14] embed JS Signed-off-by: A200019059 --- input/_layouts/default.html | 3 +++ input/assets/js/country.js | 25 +++++++++++++++++++++++++ input/pagecontent/endpoint_test.md | 6 ++++++ input/pagecontent/endpoint_test.xml | 10 ---------- sushi-config.yaml | 2 +- 5 files changed, 35 insertions(+), 11 deletions(-) create mode 100644 input/_layouts/default.html create mode 100644 input/assets/js/country.js create mode 100644 input/pagecontent/endpoint_test.md delete mode 100644 input/pagecontent/endpoint_test.xml diff --git a/input/_layouts/default.html b/input/_layouts/default.html new file mode 100644 index 00000000000..88dd121ee16 --- /dev/null +++ b/input/_layouts/default.html @@ -0,0 +1,3 @@ +{% if page.javascript %} + +{% endif %} diff --git a/input/assets/js/country.js b/input/assets/js/country.js new file mode 100644 index 00000000000..473e680304e --- /dev/null +++ b/input/assets/js/country.js @@ -0,0 +1,25 @@ +< script > +/* async function fetchAndProcessDID() { + try { + const response = await fetch('https://raw.githubusercontent.com/WorldHealthOrganization/tng-cdn-dev/main/v2/trustlist/did.json'); + const data = await response.json(); + + let outputText = ''; + if (data.verificationMethod) { + data.verificationMethod.forEach(method => { + if (method.id) { + const parts = method.id.split(":"); + if (parts.length >= 9) { + outputText += `9th element: ${parts[8]}
`; + } + } + }); + } + document.getElementById('output').innerHTML = outputText; + } catch (error) { + document.getElementById('output').innerHTML = `Error: ${error.message}`; + } + } +fetchAndProcessDID();*/ +console.log("Hello, world!"); + \ No newline at end of file diff --git a/input/pagecontent/endpoint_test.md b/input/pagecontent/endpoint_test.md new file mode 100644 index 00000000000..f31b2d3b5c2 --- /dev/null +++ b/input/pagecontent/endpoint_test.md @@ -0,0 +1,6 @@ +--- +layout: default +title: endpoints +javascript: + - /assets/js/country.js +--- \ No newline at end of file diff --git a/input/pagecontent/endpoint_test.xml b/input/pagecontent/endpoint_test.xml deleted file mode 100644 index 98639560feb..00000000000 --- a/input/pagecontent/endpoint_test.xml +++ /dev/null @@ -1,10 +0,0 @@ -
-

Sign up on chat.fhir.org community and follow the stream who-smart-guidelines for questions, queries and chats related to WHO SMART Guidelines

- -

WHO also hosts weekly calls on authoring and implementing WHO SMART Guidelines where participation is welcome. Please send an email at gdhcn-support@who.int in order to get invited.

- - -
\ No newline at end of file diff --git a/sushi-config.yaml b/sushi-config.yaml index 42b32e7ee7f..b801a92dfe2 100644 --- a/sushi-config.yaml +++ b/sushi-config.yaml @@ -122,7 +122,7 @@ pages: title: Changes endpoints.md: title: Endpoints - endpoints_test.xml: + endpoints_test.md: title: Test Endpoints indices.md: title: Indices From cbf8cd481f75d5521ef45b32901ff1810d0506e2 Mon Sep 17 00:00:00 2001 From: A200019059 Date: Wed, 14 May 2025 16:34:58 +0530 Subject: [PATCH 09/14] rename test file Signed-off-by: A200019059 --- input/pagecontent/{endpoint_test.md => endpoints_test.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename input/pagecontent/{endpoint_test.md => endpoints_test.md} (100%) diff --git a/input/pagecontent/endpoint_test.md b/input/pagecontent/endpoints_test.md similarity index 100% rename from input/pagecontent/endpoint_test.md rename to input/pagecontent/endpoints_test.md From e58350cc667cca309baf80e24820f48da15d18cc Mon Sep 17 00:00:00 2001 From: A200019059 Date: Wed, 14 May 2025 16:42:26 +0530 Subject: [PATCH 10/14] change in deployment file Signed-off-by: A200019059 --- input/pagecontent/deployment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/pagecontent/deployment.md b/input/pagecontent/deployment.md index 2e99b718b6c..1362202a584 100644 --- a/input/pagecontent/deployment.md +++ b/input/pagecontent/deployment.md @@ -15,7 +15,7 @@ This Implementation Guide contains the following deployment support guidance: {% include downloads.md %} {% include changes.md %} {% include endpoints.md %} -{%include endpoints_test.xml%} +{%include endpoints_test.md%} From 458483a30063a8ef1c3d4d4bb853992f681eefd7 Mon Sep 17 00:00:00 2001 From: A200019059 Date: Mon, 19 May 2025 18:08:19 +0530 Subject: [PATCH 11/14] Add html and javascript to test Signed-off-by: A200019059 --- input/pagecontent/endpoints_test.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/input/pagecontent/endpoints_test.md b/input/pagecontent/endpoints_test.md index f31b2d3b5c2..265b0431491 100644 --- a/input/pagecontent/endpoints_test.md +++ b/input/pagecontent/endpoints_test.md @@ -1,6 +1,9 @@ ---- -layout: default -title: endpoints -javascript: - - /assets/js/country.js ---- \ No newline at end of file +
+

Sign up on chat.fhir.org community and follow the stream who-smart-guidelines for questions, queries and chats related to WHO SMART Guidelines

+ +

WHO also hosts weekly calls on authoring and implementing WHO SMART Guidelines where participation is welcome. Please send an email at gdhcn-support@who.int in order to get invited.

+ + +
\ No newline at end of file From 0844c69d96bad2f0a37ec82f73ddd64ea8acb7f4 Mon Sep 17 00:00:00 2001 From: "dattatraya.mote" Date: Wed, 25 Jun 2025 15:47:20 +0530 Subject: [PATCH 12/14] commit: testing js embadding --- input/assets/js/country.js | 104 +++++++++++++++++++++------- input/pagecontent/endpoints_test.md | 80 +++++++++++++++++++-- 2 files changed, 153 insertions(+), 31 deletions(-) diff --git a/input/assets/js/country.js b/input/assets/js/country.js index 473e680304e..2cb258e4fd2 100644 --- a/input/assets/js/country.js +++ b/input/assets/js/country.js @@ -1,25 +1,81 @@ -< script > -/* async function fetchAndProcessDID() { - try { - const response = await fetch('https://raw.githubusercontent.com/WorldHealthOrganization/tng-cdn-dev/main/v2/trustlist/did.json'); - const data = await response.json(); - - let outputText = ''; - if (data.verificationMethod) { - data.verificationMethod.forEach(method => { - if (method.id) { - const parts = method.id.split(":"); - if (parts.length >= 9) { - outputText += `9th element: ${parts[8]}
`; - } - } - }); - } - document.getElementById('output').innerHTML = outputText; - } catch (error) { - document.getElementById('output').innerHTML = `Error: ${error.message}`; + +const environments = [ + { env: 'DEV', type: 'Embedded', url: 'https://tng-cdn-dev.who.int/v2/trustlist' }, + { env: 'DEV', type: 'Reference', url: 'https://tng-cdn-dev.who.int/v2/trustlist-ref' }, + { env: 'UAT', type: 'Embedded', url: 'https://tng-cdn-uat.who.int/v2/trustlist' }, + { env: 'UAT', type: 'Reference', url: 'https://tng-cdn-uat.who.int/v2/trustlist-ref' }, + { env: 'PROD', type: 'Embedded', url: 'https://tng-cdn.who.int/v2/trustlist' }, + { env: 'PROD', type: 'Reference', url: 'https://tng-cdn.who.int/v2/trustlist-ref' } + ]; + + + async function fetchAndProcessDID() { + const dropdown = document.getElementById("dropdown"); + const output = document.getElementById("output"); + const tableBody = document.getElementById("env-table"); + let outputText = ""; + + try { + const response = await fetch('https://raw.githubusercontent.com/WorldHealthOrganization/tng-cdn-dev/main/v2/trustlist/did.json'); + const data = await response.json(); + + dropdown.innerHTML = ''; + + if (data.verificationMethod) { + const seen = new Set(); + + data.verificationMethod.forEach(method => { + if (method.id) { + const parts = method.id.split(":"); + if (parts.length >= 7) { + const value = parts[6]; + if (!seen.has(value)) { + seen.add(value); + + const option = document.createElement("option"); + option.value = value; + option.textContent = value; + dropdown.appendChild(option); + } + } + } + }); + + output.innerHTML = 'Select a country to populate the table.'; + } else { + dropdown.innerHTML = ''; } - } -fetchAndProcessDID();*/ -console.log("Hello, world!"); - \ No newline at end of file + + // Handle selection change + dropdown.addEventListener("change", () => { + const selectedCountry = dropdown.value; + + // Clear existing table body + tableBody.innerHTML = ''; + + // Add rows with selected country appended to URL + environments.forEach(env => { + const tr = document.createElement("tr"); + + // Append selected country as query param, e.g., ?country=Germany + const updatedUrl = `${env.url}/DCC/${selectedCountry}/did.json`; + + tr.innerHTML = ` + ${env.env} + ${env.type} + ${updatedUrl} + `; + + tableBody.appendChild(tr); + }); + }); + + } catch (error) { + output.innerHTML = `Error: ${error.message}`; + } + } + + document.addEventListener("DOMContentLoaded", fetchAndProcessDID); + + + \ No newline at end of file diff --git a/input/pagecontent/endpoints_test.md b/input/pagecontent/endpoints_test.md index 265b0431491..7b8c5c9d063 100644 --- a/input/pagecontent/endpoints_test.md +++ b/input/pagecontent/endpoints_test.md @@ -1,9 +1,75 @@ -
-

Sign up on chat.fhir.org community and follow the stream who-smart-guidelines for questions, queries and chats related to WHO SMART Guidelines

+--- +layout: default +title: Home +--- + + +
-

WHO also hosts weekly calls on authoring and implementing WHO SMART Guidelines where participation is welcome. Please send an email at gdhcn-support@who.int in order to get invited.

+#### Operational Metadata +##### Trust Domains - -
\ No newline at end of file +The list of active trust domains is maintained in the [GDHCN Trust Domain Value Set](ValueSet-Domains.html). + + +##### Key Usage Codes + +The list of key usage codes is maintained in the [GDHCN Key Usage Value Set](ValueSet-KeyUsage.html). + + +##### Participants + +The list of onboarded Trust Network Participants is availabe in the [GDHCN Participants Value Set](ValueSet-Participants.html). + + + +#### Trustlist Distribution Endpoints + +THe following are the endpoints for the [GDHCN DID Trust List](concepts_did_gdhcn.html) for each of development (DEV), user-acceptence testing (UAT) and production (PROD) **environment*s: + + + + + + + + + + + + +
EnvironmentVariantURL
+ +#### Trust Network Gateway + + +THe following are the endpoints for the [Trust Network Gateway](concepts.html#trust-network-gateway-tng) for each of development (DEV), user-acceptence testing (UAT) and production (PROD) **environment*s: + +| Environment | URL | +|-------------|-----| +| PROD | https://tng.who.int | +| UAT | https://tng-uat.who.int | +| DEV | https://tng-dev.who.int | + + + + +#### Status Monitoring Dashboards + +The following dashboards reflect the realtime status of key materials for each of development (DEV), user-acceptence testing (UAT) and production (PROD) **environment*s: + + +| Environment | Dashboard | +|----------|--------------| +| DEV | [Country certificate expiry](https://tng-monitor-dev.who.int/grafana/d/dev-cert-expiry/dev-country-certificate-expiry) | +| DEV | [Country Onboarding Status](https://tng-monitor-dev.who.int/grafana/d/ddh0xqz9diio0c/dev-country-onboarding-status) | +| DEV | [Country Queries](https://tng-monitor-dev.who.int/grafana/d/dev-country-queries/dev-country-queries) | +| DEV | [Gateway Availability Dashboard](https://tng-monitor-dev.who.int/grafana/d/gw-availability/dev-gateway-availability-dashboard) | +| UAT | [Country certificate expiry](https://tng-monitor-uat.who.int/grafana/d/uat-cert-expiry/uat-country-certificate-expiry) | +| UAT | [Country Queries](https://tng-monitor-uat.who.int/grafana/d/uat-country-queries/uat-country-queries) | +| UAT | [Gateway Availability Dashboard](https://tng-monitor-uat.who.int/grafana/d/c3ed3dbe-6cc0-4f16-8f0a-c7bcebd36420/uat-gateway-availability-dashboard) | +| PROD | [Country certificate expiry](https://tng-monitor.who.int/grafana/d/cert-expiry/prod-country-certificate-expiry) | +| PROD | [Country Queries](https://tng-monitor.who.int/grafana/d/prod-country-queries/prod-country-queries) | +| PROD | [Gateway Availability Dashboard](https://tng-monitor.who.int/grafana/d/gateway-availability/prod-gateway-availability-dashboard) | \ No newline at end of file From ce0765404e5206ee5c8d14f276d5dcad8571d165 Mon Sep 17 00:00:00 2001 From: "dattatraya.mote" Date: Wed, 25 Jun 2025 15:59:52 +0530 Subject: [PATCH 13/14] commit: testing js embadding --- input/pagecontent/endpoints.md | 38 ++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/input/pagecontent/endpoints.md b/input/pagecontent/endpoints.md index 7b3ee67a46e..7b8c5c9d063 100644 --- a/input/pagecontent/endpoints.md +++ b/input/pagecontent/endpoints.md @@ -1,6 +1,12 @@ -### Endpoints - -The following describes the active services and endpoints for the GDHCN Trust Network Gateway. +--- +layout: default +title: Home +--- + + +
#### Operational Metadata ##### Trust Domains @@ -23,18 +29,20 @@ The list of onboarded Trust Network Participants is availabe in the [GDHCN Part THe following are the endpoints for the [GDHCN DID Trust List](concepts_did_gdhcn.html) for each of development (DEV), user-acceptence testing (UAT) and production (PROD) **environment*s: -| Environment | Variant | URL | -|---------|------------|--------------------------------------------------------------------------------------------------------------| -| DEV | Embedded | [https://tng-cdn-dev.who.int/v2/trustlist/did.json](https://tng-cdn-dev.who.int/v2/trustlist/did.json) | -| DEV | Reference | [https://tng-cdn-dev.who.int/v2/trustlist-ref/did.json](https://tng-cdn-dev.who.int/v2/trustlist-ref/did.json) | -| UAT | Embedded | [https://tng-cdn-uat.who.int/v2/trustlist/did.json](https://tng-cdn-uat.who.int/v2/trustlist/did.json) | -| UAT | Reference | [https://tng-cdn-uat.who.int/v2/trustlist-ref/did.json](https://tng-cdn-uat.who.int/v2/trustlist-ref/did.json) | -| PROD | Embedded | [https://tng-cdn.who.int/v2/trustlist/did.json](https://tng-cdn.who.int/v2/trustlist/did.json) | -| PROD | Reference | [https://tng-cdn.who.int/v2/trustlist-ref/did.json](https://tng-cdn.who.int/v2/trustlist-ref/did.json) | - - + + + + + + + + + + + +
EnvironmentVariantURL
-#### Trust Network Gateway +#### Trust Network Gateway THe following are the endpoints for the [Trust Network Gateway](concepts.html#trust-network-gateway-tng) for each of development (DEV), user-acceptence testing (UAT) and production (PROD) **environment*s: @@ -64,4 +72,4 @@ The following dashboards reflect the realtime status of key materials for each o | UAT | [Gateway Availability Dashboard](https://tng-monitor-uat.who.int/grafana/d/c3ed3dbe-6cc0-4f16-8f0a-c7bcebd36420/uat-gateway-availability-dashboard) | | PROD | [Country certificate expiry](https://tng-monitor.who.int/grafana/d/cert-expiry/prod-country-certificate-expiry) | | PROD | [Country Queries](https://tng-monitor.who.int/grafana/d/prod-country-queries/prod-country-queries) | -| PROD | [Gateway Availability Dashboard](https://tng-monitor.who.int/grafana/d/gateway-availability/prod-gateway-availability-dashboard) | +| PROD | [Gateway Availability Dashboard](https://tng-monitor.who.int/grafana/d/gateway-availability/prod-gateway-availability-dashboard) | \ No newline at end of file From e849efb6613b61ce647a2f3d49af45701c19febf Mon Sep 17 00:00:00 2001 From: "dattatraya.mote" Date: Wed, 25 Jun 2025 16:13:23 +0530 Subject: [PATCH 14/14] commit: adding main.js --- input/assets/js/main.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 input/assets/js/main.js diff --git a/input/assets/js/main.js b/input/assets/js/main.js new file mode 100644 index 00000000000..5f9d82bb526 --- /dev/null +++ b/input/assets/js/main.js @@ -0,0 +1,6 @@ +document.addEventListener("DOMContentLoaded", () => { + const output = document.getElementById("output"); + if (output) { + output.innerText = "JavaScript is working!"; + } +}); \ No newline at end of file