Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

- Open your text editor and create a html file - Write the necessary lines of html. - Add a paragraph and assign ID demo

- Open your text editor and create a html file

- Write the necessary lines of html.

- Add a paragraph and assign ID demo

- Create a button and use onclick event to write Hello Javascript inside the paragraph tag.

-

Create three different buttons and attach the following statements to it:

1) a statement that finds the element with the ID of demo and set the content inside this element to 3+5.

2 ) a statement that finds the element with the ID of demo and from the style of that element, set the color to red.

3) a statement that finds the element with the ID of demo and from the style of that element, set the display to none to hide the element.

image text in transcribed

- Open your text editor and create a html file. - Write the necessary lines of html. " Add a paragraph and assign ID "demo". - Create a button and use onclick event to write "Hello Javascript" inside the paragraph tag. - Click Me! - Create three different buttons and attach the following statements to it: " 1) a statement that finds the element with the ID of "demo" and set the content inside this element to 3+5. 2 ) a statement that finds the element with the ID of "demo" and from the style of that element, set the color to red. 3) a statement that finds the element with the ID of "demo" and from the style of that element, set the display to none, to hide the element

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 Design Application Development And Administration

Authors: Michael V. Mannino

3rd Edition

0071107010, 978-0071107013

More Books

Students also viewed these Databases questions

Question

13-1 How does building new systems produce organizational change?

Answered: 1 week ago

Question

13-4 What are alternative methods for building information systems?

Answered: 1 week ago