fix(learn): updated catphotoapp links (Russian) (#39253)

This commit is contained in:
Randell Dawson
2020-07-15 02:54:34 -07:00
committed by GitHub
parent fd6b24685f
commit 3c58ec4dad
46 changed files with 97 additions and 97 deletions

View File

@@ -59,7 +59,7 @@ tests:
<li>thunder</li>
<li>other cats</li>
</ol>
<form action="/submit-cat-photo">
<form action="https://freecatphotoapp.com/submit-cat-photo">
<input type="text" placeholder="cat photo URL">
</form>
</main>
@@ -92,7 +92,7 @@ tests:
<li>thunder</li>
<li>other cats</li>
</ol>
<form action="/submit-cat-photo">
<form action="https://freecatphotoapp.com/submit-cat-photo">
<input type="text" placeholder="cat photo URL">
<button type="submit">Submit</button>
</form>

View File

@@ -55,7 +55,7 @@ tests:
<li>thunder</li>
<li>other cats</li>
</ol>
<form action="/submit-cat-photo">
<form action="https://freecatphotoapp.com/submit-cat-photo">
<label for="indoor"><input id="indoor" type="radio" name="indoor-outdoor" value="indoor"> Indoor</label>
<label for="outdoor"><input id="outdoor" type="radio" name="indoor-outdoor" value="outdoor"> Outdoor</label><br>
<label for="loving"><input id="loving" type="checkbox" name="personality" value="loving"> Loving</label>
@@ -94,7 +94,7 @@ tests:
<li>thunder</li>
<li>other cats</li>
</ol>
<form action="/submit-cat-photo">
<form action="https://freecatphotoapp.com/submit-cat-photo">
<label for="indoor"><input id="indoor" type="radio" name="indoor-outdoor" value="indoor" checked> Indoor</label>
<label for="outdoor"><input id="outdoor" type="radio" name="indoor-outdoor" value="outdoor"> Outdoor</label><br>
<label for="loving"><input id="loving" type="checkbox" name="personality" value="loving" checked> Loving</label>

View File

@@ -14,7 +14,7 @@ localeTitle: Создание элемента формы
## Instructions
<section id='instructions'>
Заглушите свое текстовое поле внутри элемента <code>form</code> и добавьте атрибут <code>action=&quot;/submit-cat-photo&quot;</code> в элемент формы.
Заглушите свое текстовое поле внутри элемента <code>form</code> и добавьте атрибут <code>action=&quot;https://freecatphotoapp.com/submit-cat-photo&quot;</code> в элемент формы.
</section>
## Tests
@@ -24,8 +24,8 @@ localeTitle: Создание элемента формы
tests:
- text: Nest your text input element within a <code>form</code> element.
testString: assert($("form") && $("form").children("input") && $("form").children("input").length > 0);
- text: Make sure your <code>form</code> has an <code>action</code> attribute which is set to <code>/submit-cat-photo</code>
testString: assert($("form").attr("action") === "/submit-cat-photo");
- text: Make sure your <code>form</code> has an <code>action</code> attribute which is set to <code>https://freecatphotoapp.com/submit-cat-photo</code>
testString: assert($("form").attr("action") === "https://freecatphotoapp.com/submit-cat-photo");
- text: Make sure your <code>form</code> element has well-formed open and close tags.
testString: assert(code.match(/<\/form>/g) && code.match(/<form [^<]*>/g) && code.match(/<\/form>/g).length === code.match(/<form [^<]*>/g).length);
@@ -88,7 +88,7 @@ tests:
<li>thunder</li>
<li>other cats</li>
</ol>
<form action="/submit-cat-photo">
<form action="https://freecatphotoapp.com/submit-cat-photo">
<input type="text" placeholder="cat photo URL">
</form>
</main>

View File

@@ -61,7 +61,7 @@ tests:
<li>thunder</li>
<li>other cats</li>
</ol>
<form action="/submit-cat-photo">
<form action="https://freecatphotoapp.com/submit-cat-photo">
<label for="indoor"><input id="indoor" type="radio" name="indoor-outdoor"> Indoor</label>
<label for="outdoor"><input id="outdoor" type="radio" name="indoor-outdoor"> Outdoor</label><br>
<input type="text" placeholder="cat photo URL" required>
@@ -97,7 +97,7 @@ tests:
<li>thunder</li>
<li>other cats</li>
</ol>
<form action="/submit-cat-photo">
<form action="https://freecatphotoapp.com/submit-cat-photo">
<label for="indoor"><input id="indoor" type="radio" name="indoor-outdoor"> Indoor</label>
<label for="outdoor"><input id="outdoor" type="radio" name="indoor-outdoor"> Outdoor</label><br>
<label for="playful"><input id="playful" type="checkbox" name="personality">Playful</label>

View File

@@ -65,7 +65,7 @@ tests:
<li>thunder</li>
<li>other cats</li>
</ol>
<form action="/submit-cat-photo">
<form action="https://freecatphotoapp.com/submit-cat-photo">
<input type="text" placeholder="cat photo URL" required>
<button type="submit">Submit</button>
</form>
@@ -99,7 +99,7 @@ tests:
<li>thunder</li>
<li>other cats</li>
</ol>
<form action="/submit-cat-photo">
<form action="https://freecatphotoapp.com/submit-cat-photo">
<label for="indoor"><input id="indoor" type="radio" name="indoor-outdoor"> Indoor</label>
<label for="outdoor"><input id="outdoor" type="radio" name="indoor-outdoor"> Outdoor</label><br>
<input type="text" placeholder="cat photo URL" required>

View File

@@ -14,7 +14,7 @@ localeTitle: Ссылка на внешние страницы с элемент
## Instructions
<section id='instructions'>
Создайте элемент, который ссылается на <code><http://freecatphotoapp.com></code> и имеет «фотографии котят» в качестве его якорного текста.
Создайте элемент, который ссылается на <code><https://freecatphotoapp.com></code> и имеет «фотографии котят» в качестве его якорного текста.
</section>
## Tests
@@ -65,7 +65,7 @@ tests:
<img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">
<a href="http://freecatphotoapp.com">cat photos</a>
<a href="https://freecatphotoapp.com">cat photos</a>
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>

View File

@@ -48,7 +48,7 @@ tests:
<h2>CatPhotoApp</h2>
<main>
<a href="http://freecatphotoapp.com" target="_blank">cat photos</a>
<a href="https://freecatphotoapp.com" target="_blank">cat photos</a>
<img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">

View File

@@ -14,7 +14,7 @@ localeTitle: Создание мертвых ссылок с использов
## Instructions
<section id='instructions'>
Текущее значение атрибута <code>href</code> - это ссылка, которая указывает на «http://freecatphotoapp.com». Замените значение атрибута <code>href</code> символом <code>#</code> , также известным как хэш-символ, чтобы создать мертвую ссылку. Например: <code>href=&quot;#&quot;</code>
Текущее значение атрибута <code>href</code> - это ссылка, которая указывает на «https://freecatphotoapp.com». Замените значение атрибута <code>href</code> символом <code>#</code> , также известным как хэш-символ, чтобы создать мертвую ссылку. Например: <code>href=&quot;#&quot;</code>
</section>
## Tests
@@ -37,7 +37,7 @@ tests:
```html
<h2>CatPhotoApp</h2>
<main>
<p>Click here to view more <a href="http://freecatphotoapp.com" target="_blank">cat photos</a>.</p>
<p>Click here to view more <a href="https://freecatphotoapp.com" target="_blank">cat photos</a>.</p>
<img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">

View File

@@ -22,16 +22,16 @@ localeTitle: Гнездо анкерного элемента в абзаце
```yml
tests:
- text: You need an <code>a</code> element that links to "http://freecatphotoapp.com".
testString: assert(($("a[href=\"http://freecatphotoapp.com\"]").length > 0 || $("a[href=\"http://www.freecatphotoapp.com\"]").length > 0));
- text: You need an <code>a</code> element that links to "https://freecatphotoapp.com".
testString: assert(($("a[href=\"https://freecatphotoapp.com\"]").length > 0 || $("a[href=\"http://www.freecatphotoapp.com\"]").length > 0));
- text: Your <code>a</code> element should have the anchor text of "cat photos"
testString: assert($("a").text().match(/cat\sphotos/gi));
- text: Create a new <code>p</code> element around your <code>a</code> element. There should be at least 3 total <code>p</code> tags in your HTML code.
testString: assert($("p") && $("p").length > 2);
- text: Your <code>a</code> element should be nested within your new <code>p</code> element.
testString: assert(($("a[href=\"http://freecatphotoapp.com\"]").parent().is("p") || $("a[href=\"http://www.freecatphotoapp.com\"]").parent().is("p")));
testString: assert(($("a[href=\"https://freecatphotoapp.com\"]").parent().is("p") || $("a[href=\"http://www.freecatphotoapp.com\"]").parent().is("p")));
- text: Your <code>p</code> element should have the text "View more " (with a space after it).
testString: assert(($("a[href=\"http://freecatphotoapp.com\"]").parent().text().match(/View\smore\s/gi) || $("a[href=\"http://www.freecatphotoapp.com\"]").parent().text().match(/View\smore\s/gi)));
testString: assert(($("a[href=\"https://freecatphotoapp.com\"]").parent().text().match(/View\smore\s/gi) || $("a[href=\"http://www.freecatphotoapp.com\"]").parent().text().match(/View\smore\s/gi)));
- text: Your <code>a</code> element should <em>not</em> have the text "View more".
testString: assert(!$("a").text().match(/View\smore/gi));
- text: Make sure each of your <code>p</code> elements has a closing tag.
@@ -52,7 +52,7 @@ tests:
<h2>CatPhotoApp</h2>
<main>
<a href="http://freecatphotoapp.com" target="_blank">cat photos</a>
<a href="https://freecatphotoapp.com" target="_blank">cat photos</a>
<img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">
@@ -72,7 +72,7 @@ tests:
```html
<h2>CatPhotoApp</h2>
<main>
<p>View more <a target="_blank" href="http://freecatphotoapp.com">cat photos</a></p>
<p>View more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a></p>
<img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">

View File

@@ -60,7 +60,7 @@ tests:
<li>other cats</li>
</ol>
<form action="/submit-cat-photo">
<form action="https://freecatphotoapp.com/submit-cat-photo">
<label for="indoor"><input id="indoor" type="radio" name="indoor-outdoor" value="indoor" checked> Indoor</label>
<label for="outdoor"><input id="outdoor" type="radio" name="indoor-outdoor" value="outdoor"> Outdoor</label><br>
<label for="loving"><input id="loving" type="checkbox" name="personality" value="loving" checked> Loving</label>
@@ -100,7 +100,7 @@ tests:
<li>other cats</li>
</ol>
</div>
<form action="/submit-cat-photo">
<form action="https://freecatphotoapp.com/submit-cat-photo">
<label for="indoor"><input id="indoor" type="radio" name="indoor-outdoor" value="indoor" checked> Indoor</label>
<label for="outdoor"><input id="outdoor" type="radio" name="indoor-outdoor" value="outdoor"> Outdoor</label><br>
<label for="loving"><input id="loving" type="checkbox" name="personality" value="loving" checked> Loving</label>

View File

@@ -53,7 +53,7 @@ tests:
<li>thunder</li>
<li>other cats</li>
</ol>
<form action="/submit-cat-photo">
<form action="https://freecatphotoapp.com/submit-cat-photo">
<input type="text" placeholder="cat photo URL">
<button type="submit">Submit</button>
</form>
@@ -87,7 +87,7 @@ tests:
<li>thunder</li>
<li>other cats</li>
</ol>
<form action="/submit-cat-photo">
<form action="https://freecatphotoapp.com/submit-cat-photo">
<input type="text" required placeholder="cat photo URL">
<button type="submit">Submit</button>
</form>