Exercise: Build an Image and Run It

Test yourself and implement what you have learned so far in this exercise.

svg viewer

Create a file named compute.js with the following code that computes and displays the area of a disk using JavaScript:

Get hands-on with 1200+ tech skills courses.