Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1: using HTML, design a simple interface that has 2 text fields where it asks the user to enter the first and last names. Also,

1: using HTML, design a simple interface that has 2 text fields where it

asks the user to enter the first and last names. Also, in the interface, include submit and clear buttons. The submit button not necessarily sends any data to the server, it can be just a button. However, the clear button should clear entered data.

In the following questions, write the script code ONLY (not the whole code).

2: write a JavaScript code which take 2 numbers from the user, subtract them and show the answer.

3: using any repetition statement (loop), write a JavaScript code that takes 10 values from the user, sum them, divide them by 2 and display the result.

4: create a JavaScript function which return the minimum number among 3 entered numbers from the user. (Hint: the minimum function in JavaScript is Math.min()).

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

Oracle 12c SQL

Authors: Joan Casteel

3rd edition

1305251032, 978-1305251038

More Books

Students also viewed these Databases questions