Knowledge quiz

It's time to put what you've learned to the test, get 4 right to pass this unit.

1.

What are the element, attribute(s), and value(s) in the following line of HTML code? ﹤header id="masthead" class="site-header fixed-top"﹥...﹤/header﹥

Choose the correct answer.
2.

How would you write the jQuery selector that will uniquely identify the highlighted element below?

There are four correct answers.
3.

What is the correct jQuery selector to identify the "Enter a promo code" element based on its id?

Choose the correct answer.
4.

With reference to the following HTML code, what is div.section classified as in relation to main.main-primary? ﹤header id="global-header"﹥ ﹤div class ="section"﹥﹤main class="main-primary"﹥﹤div class="container-1"﹥...﹤/div﹥﹤div class="container-2"﹥...﹤/div﹥﹤/main﹥﹤/div﹥﹤/header﹥

Choose the correct answer.
5.

When using the wmjQuery command in the browser's developer console, what should you type to inspect the header element on the website?

Choose the correct answer.