Question: In JavaScript in separate programs create: Assignment 1: Create an HTML file with a button and a paragraph element. Use jQuery to hide the paragraph
In JavaScript in separate programs create:
Assignment 1:
Create an HTML file with a button and a paragraph element.
Use jQuery to hide the paragraph element when the button is clicked and show it again when the button is clicked again.
Bonus: Add a fade animation to the hide and show functions.
Assignment 2:
Create an HTML file with a button and a div element.
Use jQuery to toggle a class on the div element when the button is clicked.
Bonus: Add a CSS transition to the class change to create an animation.
Assignment 3:
Create an HTML file with a button and a div element with some text in it.
Use jQuery to create a slide toggle animation when the button is clicked to show and hide the text in the div element.
Write a Python program to create a function that can match all those words starting with the letter 'a', and return the immediately following words (ignore any punctuations and digits). The test strings are: Strl = "Doesn't anybody stay in one place anymore. It would be so fine to see your face at my door." Str2 = "Doesn't anybody-stay in one place anymore. It would be so fine to see your face at 2 my door." The expected results are: The words following a-word are: ['stay', 'It', 'my'] The words following a-word are: ['stay', 'It', 'my']
Step by Step Solution
There are 3 Steps involved in it
Here are the separate programs for each assignment using jQuery for the tasks you described Assignme... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
6642fb3094e67_962146.pdf
180 KBs PDF File
6642fb3094e67_962146.docx
120 KBs Word File
