diff --git a/css/styles.css b/css/styles.css index 14a7ac5..c851cf3 100644 --- a/css/styles.css +++ b/css/styles.css @@ -12,7 +12,7 @@ textarea { padding: 10px 20px; padding-bottom: 25px; margin-bottom: 20px; - background: #e6e6e6; + background: #f4f4f4; width: 100%; max-width: 1300px; box-sizing: border-box; diff --git a/js/generateFormComponents.js b/js/generateFormComponents.js index dc671a6..167c649 100644 --- a/js/generateFormComponents.js +++ b/js/generateFormComponents.js @@ -262,19 +262,28 @@ function createComponent(fieldName, fieldObject, requiredArray, prefix) { // Adds heading containing schema information function createFormHeading(agency) { const agencyTitle = (agency === "gov") ? agency.charAt(0).toUpperCase() + agency.slice(1) : agency.toUpperCase(); - const agencyDescription = (agency !== "gov") ? agencyTitle : agency; + const agencyDescription = (agency !== "gov") ? agencyTitle : "government"; const container = document.getElementById('form-header'); container.innerHTML = `

Welcome to ${agencyTitle} Code.json Generator!

\n -

code.json generator is a web form designed to help ${agencyDescription} teams create a code.json file containing project metadata in compliance with the SHARE IT Act. - Visit the code.json generator is a web form designed to help ${agencyDescription} teams create a code.json file containing project metadata in compliance with the SHARE IT Act.

\n +

Complete the form below to create a code.json file for your project.

\n +

Afterwards, the code.json file must be added to the repository. To save the file, you can: +

+

\n +

Visit the - SHARE IT Act Landing Page for more information.

\n -

Complete the form below to create a code.json file for your project:

\n + SHARE IT Act Landing Page for more information. +

`; }