The Modernizr
In this lesson, we'll test our knowledge of web optimization in relation to HTML5. If you are rusty on this concept, helpful resource links are provided in the lesson appendix for your revision.
We'll cover the following...
Test your understanding of Modernizr
Question 1:
Question 1:
Q
What, essentially, is the Modernizr?
A)
CSS style sheet
B)
JavaScript Library
C)
The source code of a web page
D)
A layout file in PHP
Question 2:
Question 2:
Q
Which of the following is used to determine whether a browser supports a supplied event?
A)
Modernizr.addTest
B)
Modernizr.hasEvent
C)
Modernizr.atRule
D)
Modernizr.prefixed