Question: Introduction to Web Development Problem 1 - Write an HTML file to print the integers from 1 to 20 by using a while or for

Introduction to Web Development

Problem 1

- Write an HTML file to print the integers from 1 to 20 by using a while or for loop and the counter variable x.

- Print only five integers per line.

Problem 2

- Write an HTML file to prompt to the visitor to input two numbers (x and y), and then display the result of x2 + y2

- Please write a function to calculate the result of x2 + y2

Problem 3

- Write an HTML file to display three hyperlinks to three of your favorite websites;

- Your web page should give an alert message, Welcome to visit my web page!, when the page is loaded; (hint: use the event handler, onload, on the body tag)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!