Using HTML and Javascript inside section use tag to create a vector graphic area with 200 points as width and height and xmlns ="http://www.w3.org/2000/svg" and then create a blue circle of radius 50 at the location (100,100) inside. 5) Write JavaScript so that when the user clicks on the circle, the circle disappears.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter15: Using Javafx And Scene Builder
Section: Chapter Questions
Problem 1GZ
icon
Related questions
Question

Using HTML and Javascript

inside <body> section use tag to create a vector graphic area with 200 points as width and height and xmlns ="http://www.w3.org/2000/svg" and then create a blue circle of radius 50 at the location (100,100) inside.

5) Write JavaScript so that when the user clicks on the circle, the circle disappears. 

Expert Solution
Step 1

Here is the code for the given problem. I will provide you the three thing

1. Html code

2. CSS Code

3. Java Script Code

Html Code:

<html>

<body>

 <h1>JavaScript Challenge:</h1>

        <h2>Click on circles to make them disappear</h2>
        
         <div class="circle" id="blue-circle"></div>

<body>

<html>

 

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
JQuery and Javascript
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT