Question: Write down a html code with three paragraphs. Write any text in these paragraph. Add a button to handle the events. Add the following class
Write down a html code with three paragraphs. Write any text in these paragraph. Add a button to handle the events. Add the following class in the style element of head section. .selected { color: ; display: block; border: 2px solid green; width: 160px; height: 60px; background-color: lightgreen; padding: 20px; } Write down a jQuery code that will add the selected class in the last paragraph of html code.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
