PrepAway - Latest Free Exam Questions & Answers

You need to ensure that the slider control meets the requirements

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.)

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:

9 Comments on “You need to ensure that the slider control meets the requirements

  1. developer says:

    step=”0″

    look at to the desc:
    “Specifies the legal number intervals for the input field. Default is 1”.
    This is HTML5 semantic question, so must assign to any type of NUMBER. “value” or “default” might be works; even any type of word. But no sense in SEMANTIC.

    min=”18″ max=”90″ value=”37″ step=”0″ (not 100 as you know)




    0



    0
  2. brkyctn says:

    Explanation/Reference:
    Box 1-3: The is used for input fields that should contain a value within a range.
    Example

    Box 4:
    The step attribute specifies the legal number intervals for an element.
    Example: if step=”3″, legal numbers could be -3, 0, 3, 6, etc.
    Syntax

    number
    Specifies the legal number intervals for the input field. Default is 1
    Box 5: Use the value attribute to set the default value. Here: 37
    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:
    Reference: HTML Input Types
    http://www.w3schools.com/html/html_form_input_types.asp




    0



    0

Leave a Reply