Module 5 Quiz
Cuestionario, 12 preguntas
12/12 puntos (100%)
¡Felicitaciones! ¡Aprobaste!
Pregunta 1
Correcto
1/1
Punto
1. Pregunta 1
What is true of HTML forms?
Forms are primarily used for signing up for things
Forms must be printable to be useful
They can be used to gather almost any information from visitors.
Correcto
Please refer to the lesson "HTML Forms User Input" for more information.
All of these are true
Pregunta 2
Correcto
1/1
Punto
2. Pregunta 2
Which type of form input hides what the user types?
text
radio
text with a value
secret
password
Correcto
Please refer to the lesson "HTML Forms User Input" for more information.
Pregunta 3
Correcto
1/1
Punto
3. Pregunta 3
What is true of radio buttons?
The must have the same value to work as a group
There is a limit of three radio buttons per group
They enable live radio streaming
They must have the same name to work as a group
Correcto
Please refer to the lesson "HTML Forms User Input" for more information.
Pregunta 4
Correcto
1/1
Punto
4. Pregunta 4
What do we know about checkboxes? (Select all that apply.)
All of these are true
Deseleccionado es lo correcto
We can check one, some or all (unlike radio buttons)
Correcto
Please refer to the lesson "HTML Forms: Elements, Part 1" for more information.
They have a different shape than radio buttons
Correcto
Please refer to the lesson "HTML Forms: Elements, Part 1" for more information.
They only work in conjunction with radio buttons
Deseleccionado es lo correcto
Pregunta 5
Correcto
1/1
Punto
5. Pregunta 5
What do we know about the input type number?
Both min and max are required
max is required, but min is not
min is required, but max is not
Neither min nor max is required
Correcto
Please refer to the lesson "HTML Forms: Elements, Part 1" for more information.
Pregunta 6
Correcto
1/1
Punto
6. Pregunta 6
Why might we consider using the date input type?
It gives the user an easy way to input a date
It prevents invalid date formats
All of these are true
Correcto
Please refer to the lesson "HTML Forms: Elements, Part 1" for more information.
It allows a user to type a date if they prefer
Pregunta 7
Correcto
1/1
Punto
7. Pregunta 7
Which of these strings match the HTML5 pattern="[A-Za-z]{3}
(Select all that apply.)
usa
Correcto
Please refer to the lesson "HTML Form Validation: JavaScript" for more information.
GER
Correcto
Please refer to the lesson "HTML Form Validation: JavaScript" for more information.
AU
Deseleccionado es lo correcto
US3
Deseleccionado es lo correcto
Pregunta 8
Correcto
1/1
Punto
8. Pregunta 8
If using regular expressions to validate input, it may be better to use JavaScript than HTML5. Why?
HTML5 pattern isn't supported in all browsers
Correcto
Please refer to the lesson "HTML Form Validation: JavaScript" for more information.
Regular expressions are easier to write in JavaScript
The JavaScript approach is not supported in all browsers
JavaScript requires less code
Pregunta 9
Correcto
1/1
Punto
9. Pregunta 9
Are tables and HTML forms compatible?
Tables can be used instead of forms if we provide an action attribute
Yes, if we use the table attribute of a form
Tables can be used to give a form structure
Correcto
Please refer to the lesson "HTML Form Validation: Complex Form Example" for more information.
Forms can be used to give tables structure
No, tables and forms are incompatible
Pregunta 10
Correcto
1/1
Punto
10. Pregunta 10
JavaScript can be maintained in a separate file by using which attribute of the script tag?
src
Correcto
Please refer to the lesson "HTML Form Validation: Complex Form Example" for more information.
type
source
dest
action
Pregunta 11
Correcto
1/1
Punto
11. Pregunta 11
A placeholder in an HTML form refers to
A kind of prompt for the user's input
Correcto
Please refer to the lesson "HTML Form Validation: Additional Features" for more information.
A special comment to remind us what feature we want to work on next
Is a nice feature, but it requires a lot of code
A place for to insert JavaScript code later.
Pregunta 12
Correcto
1/1
Punto
12. Pregunta 12
What is true of the built JavaScript function toUpperCase()
(Select all that apply.)
It works on JavaScript strings
Correcto
Please refer to the lesson "HTML Form Validation: Additional Features" for more information.
It makes all letters in a string upper case
Correcto
Please refer to the lesson "HTML Form Validation: Additional Features" for more information.
It makes most of the characters in a string upper case
Deseleccionado es lo correcto
It must be used when processing forms
Deseleccionado es lo correcto