Question: use CSS and Javascript to modify a web page's appearance Make a simple HTML page that displays a paragraph of something like 'This is a

use CSS and Javascript to modify a web page's appearance Make a simple HTML page that displays a paragraph of something like 'This is a Paragraph.' Give that paragraph an ID tag of 'theparagraph'. It should have the default color of Black to start with. Add a button below it which calls a Javascript function to step the paragraph's color from red to green to blue back to red etc, each time the button is clicked. Access the paragraph's CSS color property to change the color by using the paragraph object's style.color member variable. ref: search for 'css color' Add another button below that which calls another Javascript function to alternately Hide or Show the paragraph each time it is clicked. Access the paragraph's CSS visibility property to hide/show the paragraph. ref: search for 'css visibility' Make another button below that which changes the font size from 15px to 20px to 25px and back to 15px etc, each time it is clicked using an appropriate CSS property of the paragraph. ref: search for 'css font size' Make it so only when the mouse is over the paragraph text, the background color is yellow, otherwise it is the default (white). Use a  block in the html file's ... section to declare the CSS code needed. Do not use Javascript for this part. ref: search for 'css mouse over'

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!