diff --git a/packages/govuk-frontend-review/src/views/examples/javascript-errors/index.njk b/packages/govuk-frontend-review/src/views/examples/javascript-errors/index.njk new file mode 100644 index 0000000000..a86e952d15 --- /dev/null +++ b/packages/govuk-frontend-review/src/views/examples/javascript-errors/index.njk @@ -0,0 +1,40 @@ +{% extends "layouts/layout.njk" %} + +{% from "govuk/components/back-link/macro.njk" import govukBackLink %} +{% from "govuk/components/character-count/macro.njk" import govukCharacterCount %} + +{% block beforeContent %} + {{ govukBackLink({ + href: "/" + }) }} +{% endblock %} + +{% block content %} +
+ Open your brower's console + to witness the error thrown in browsers where GOV.UK Frontend is not supported. +
+ {{ govukCharacterCount({ + label: { + text: "Any other comment" + }, + id: "some-content", + name: "some-content" + })}} +{% endblock %} + +{% block bodyEnd %} + + + + +{% endblock %}