Company: paypal_17may
Difficulty: medium
A text taken from Wikipedia is given below. You have to toggle the visibility of paragraphs with class="hide" when the toggle button is clicked. Initially, all the paragraphs are displayed (see figure 1). When the toggle button is clicked, the visibility of elements with <p class="hide"> is toggled. Figure 1 Initially, all the paragraphs are displayed as shown in the sample webpage content. Figure 2 The partial code is given below: <script> <!--Fill in the code here--> </script> <p class="hide">jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML.</h2> <p class="hide">jQuery is the most popular JavaScript library in use today, with installation on 65% of the top 10 million highest-trafficked sites on the Web.jQuery is free, open-source software licensed under the MIT License</p> <p>jQuery's syntax is designed to make it easier to navigate a document, select DOM elements, create animati