11.
What is the purpose of using $(window).resize() in jQuery?
12.
How does a fluid grid layout help in responsive design?
13.
Why is it important to adapt layouts based on device orientation?
14.
What does the following CSS media query do: @media (orientation: portrait) { ... }?
15.
How can you ensure that a layout adjusts to different screen sizes using CSS?
16.
How does display: none; help in responsive design?
17.
What does the .on('click', function) method in jQuery do?
18.
Why is it important to use $(document).ready(function() { ... }); in jQuery?
19.
What does the $('.menu-toggle').click(function() { $('.menu').slideToggle(); }); code do?
20.
How can you ensure that text resizes appropriately on different devices?