- CSS files
- Large video files
- Font files
- JavaScript files
Category: HubSpot CMS for Developers II Exam Answer
Fill in the blank: Add the ________ attribute to your script to tell the browser to execute it after construction of the DOM.
- defer
- preload
- async
- integrity
Fill in the blank: _______ is the process through which all unnecessary characters are removed from a file.
- Minification
- Fetching
- Caching
- Deferring
Consider the line of code below. If you were to load a script in this way, what would be the result? {{ require_js(get_asset_url(“./path/to/file.js”), { async: true }) }}
- The script would be added to the head of the document with an async attribute.
- The script would be added before the closing body tag with a defer attribute.
- The script would be added to the head of the document with a defer attribute.
- The script would be added before the closing body tag with an async attribute.
Select all that apply. Which elements should receive focus as you tab through a web page?
- button elements
- anchor elements
- h1 elements
- input elements
True or false? Part of making a form input accessible is including include a label for the input.
- True
- False
True or false? Automated testing is sufficient to test for appropriate use of alternative text.
- True
- False
Providing text alternatives for non-text content adheres to which WCAG principle?
- Perceivability
- Operability
- Understandability
- Robustness
A skip to content link should skip to which landmark element on the page?
- nav
- main
- header
- section
Select all that apply. Which of the following will prevent a page from appearing in Google’s search results?
- Adding a noindex meta tag to the page
- Disallowing crawling of the page in robots.txt
- Password-protecting the page
- Omitting the page’s meta title and description