Click here to view more cat photos.
Things cats love:
- cat nip
- laser pointers
- lasagna
Top 3 things cats hate:
- flea treatment
- thunder
- other cats
placeholder
) es lo que se muestra en su elemento input
antes de que su usuario haya ingresado algo. Puede crear texto de marcador de posición de la siguiente manera: <input type="text" placeholder="this is placeholder text">
placeholder
de su elemento input
texto en "URL de foto de gato". placeholder
al elemento input
existente.
testString: 'assert($("input[placeholder]").length > 0, "Add a placeholder
attribute to the existing text input
element.");'
- text: Establezca el valor de su atributo placeholder
en "cat photo URL".
testString: 'assert($("input") && $("input").attr("placeholder") && $("input").attr("placeholder").match(/cat\s+photo\s+URL/gi), "Set the value of your placeholder attribute to "cat photo URL".");'
- text: El elemento input
completado debe tener una sintaxis válida.
testString: 'assert($("input[type=text]").length > 0 && code.match(/\s]+))?)+\s*|\s*)\/?>/gi), "The finished input
element should have valid syntax.");'
```
Click here to view more cat photos.
Things cats love:
Top 3 things cats hate: