Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a webpage in which the user is allowed to select the page's background and color whether the page uses serif or sans serif fonts.

Create a webpage in which the user is allowed to select the page's background and color whether the page uses serif or sans serif fonts. The change the body element's style attribute accordingly.

If the user onclicks any of the options, the webpage will turn into that format. For example, if the user clicks "Gray background", the background color of the webpage will be Gray. If the user clicks Serif-text, the text in the web page will be in Serif text.

CODE SO FAR:

Week 4 Page 420 href="#" onClick = "javascript:changeBGC('pink')">Click Pink href="#" onClick = "javascript:changeBGC('red')">Click Red href="#" onClick = "javascript:changeBGC('orange')">Click Green href="#" onClick = "javascript:changeFontFamily('serif')">Click SansSerif href="#" onClick = "javascript:changeFontFamily('sans-serif')">Click Serif

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

Step: 3

blur-text-image

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 Administrator Limited Edition

Authors: Martif Way

1st Edition

B0CGG89N8Z

More Books

Students also viewed these Databases questions

Question

What distinguishes a blended rate from a traditional hourly rate?

Answered: 1 week ago

Question

define the term outplacement

Answered: 1 week ago

Question

describe the services that an outplacement consultancy may provide.

Answered: 1 week ago