Which two code segments should you include on the webpage?

You develop an HTML5 webpage that contains the following HTML markup:
<input id=”loanTermTextBox” type=”text” />
Users must enter a valid integer value into the text box.

You need to validate the data type that is received from the input element.
Which two code segments should you include on the webpage? (Each correct answer presents a
complete solution. Choose two.)

You develop an HTML5 webpage that contains the following HTML markup:
<input id=”loanTermTextBox” type=”text” />
Users must enter a valid integer value into the text box.

You need to validate the data type that is received from the input element.
Which two code segments should you include on the webpage? (Each correct answer presents a
complete solution. Choose two.)

A.
Option A

B.
Option B

C.
Option C

D.
Option D

E.
Option E



Leave a Reply 5

Your email address will not be published. Required fields are marked *


Nano

Nano

Options A + B, is the correct answer

Question

Question

Dude die a slow death

freedeveloper

freedeveloper

Well, A y B are equals. option C can be the other because test if they are different as text

coder12878

coder12878

C is incorrect because it has to be a valid integer. parseFloat returns a decimal value.

Po

Po

I hate the wording of this question. It’s like multiple choice but you must pick two solutions, each entirely non-dependent on the other.