1.
What is the primary goal of responsive web design?
2.
How can jQuery complement CSS3 media queries in responsive design?
3.
Which jQuery method is used to detect changes in the viewport size?
4.
What does the following jQuery code do: $(window).resize(function() { if($(window).width() < 768) { $('.menu').hide(); } else { $('.menu').show(); } });
5.
Why is it important to handle touch events in responsive web design?
6.
Which jQuery event is useful for creating swipe gestures on touch devices?
7.
How can jQuery be used to load different image sizes based on the viewport?
8.
Which jQuery method can be used to animate smooth scrolling for anchor links?
9.
What is a common use of jQuery in responsive web forms?
10.
How does jQuery help in optimizing images for responsive design?