Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a function that takes two parameters, one that represents an id and one that represents a value that is a font size such as

Write a function that takes two parameters, one that represents an id and one that represents a value that is a font size such as 24pt or 56pt. The function changes the element with the id sent as the first parameter to have the text change to the size that was sent in the second parameter.

a) Now fill in the blanks below so that when you click the h5, the text in the h4, the h5, and the h3 All become 36pt in size by calling the function that you wrote above.

Ben Franklin

An investment in knowledge Another Franklin quote

________________________________________________________________

b) Now fill in the blanks below so that when you click the h5, the text in the h4 becomes 36pt, the h5 becomes 56pt, and the h3 becomes 76pt in size by calling the same function that you wrote above.

Ben Franklin

An investment in knowledge Another Franklin quote

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts International Edition

Authors: David M. Kroenke

6th Edition International Edition

0133098222, 978-0133098228

More Books

Students also viewed these Databases questions

Question

What is product and service innovation? LOP98

Answered: 1 week ago