exam questions

Exam 70-480 All Questions

View all questions & answers for the 70-480 exam

Exam 70-480 topic 1 question 10 discussion

Actual exam question from Microsoft's 70-480
Question #: 10
Topic #: 1
[All 70-480 Questions]

DRAG DROP -
You are developing a web page for runners who register for a race. The page includes a slider control that allows users to enter their age.
You have the following requirements:
✑ All runners must enter their age.
✑ Applications must not be accepted from runners less than 18 years of age or greater than 90 years.
✑ The slider control must be set to the average age (37) of all registered runners when the page is first displayed.
You need to ensure that the slider control meets the requirements.
What should you do? (To answer, drag the appropriate word or number to the correct location in the answer area. Each word or number may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1-3: The <input type="range"> is used for input fields that should contain a value within a range.

Example -
<input type="range" name="points" min="0" max="10">
Box 4-5: Use the value attribute to set the default value

Box 6: Definition and Usage -
The required attribute is a boolean attribute.
When present, it specifies that an input field must be filled out before submitting the form.

Example -
Username: <input type="text" name="usrname" required />

Reference: HTML Input Types -
http://www.w3schools.com/html/html_form_input_types.asp

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
grabania
4 years, 5 months ago
I also dont understand why the step is there? Can anyone explain, please?
upvoted 1 times
rvries
4 years, 5 months ago
They usually add extra variables like this to the mix just to throw you off a bit. I don't know if microsoft does this often, but i know the Oracle exams do this a lot.
upvoted 1 times
...
...
shade03
4 years, 6 months ago
Why is there a step in this input?
upvoted 1 times
learning_weber
4 years, 6 months ago
The step attribute specifies the interval between legal numbers in an <input> element. Example: if step="3", legal numbers could be -3, 0, 3, 6, etc.
upvoted 1 times
shade03
4 years, 6 months ago
But the question doesn't specify a step being required. Also with a step, there are certain ages you cant select.
upvoted 1 times
...
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...