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
input
до того, как ваш пользователь ввел что-либо. Вы можете создать текст заполнителя следующим образом: <input type="text" placeholder="this is placeholder text">
placeholder
вашего input
текста «URL-адрес кота». placeholder
в существующий элемент input
текста.
testString: 'assert($("input[placeholder]").length > 0, "Add a placeholder
attribute to the existing text input
element.");'
- text: Установите для атрибута placeholder значение «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: Готовый элемент input
должен иметь действительный синтаксис.
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: