chore(i18n,curriculum): update translations (#42022)
This commit is contained in:
@ -52,7 +52,7 @@ assert($('img').length);
|
||||
Tu imagen debe tener un atributo `src` que apunte a la imagen del gatito.
|
||||
|
||||
```js
|
||||
assert(/^https:\/\/www\.bit\.ly\/fcc-relaxing-cat$/i.test($('img').attr('src')));
|
||||
assert(/^https:\/\/(www\.)?bit\.ly\/fcc-relaxing-cat$/i.test($('img').attr('src')));
|
||||
```
|
||||
|
||||
El atributo `alt` de tu elemento imagen no debe estar vacío.
|
||||
|
@ -37,9 +37,8 @@ assert(
|
||||
Tu formulario `form` debe tener un atributo `action` que esté establecido como `https://www.freecatphotoapp.com/submit-cat-photo`
|
||||
|
||||
```js
|
||||
assert(
|
||||
$('form').attr('action') === 'https://www.freecatphotoapp.com/submit-cat-photo'
|
||||
);
|
||||
const action = $('form').attr('action');
|
||||
assert(action.match(/^https:\/\/(www\.)?freecatphotoapp\.com\/submit-cat-photo$/i))
|
||||
```
|
||||
|
||||
Tu elemento `form` debe tener etiquetas correctamente abiertas y cerradas.
|
||||
|
@ -34,7 +34,7 @@ assert(/cat photos/gi.test($('a').text()));
|
||||
Necesitas un elemento `a` que enlace a `https://www.freecatphotoapp.com`
|
||||
|
||||
```js
|
||||
assert(/^https?:\/\/www\.freecatphotoapp\.com\/?$/i.test($('a').attr('href')));
|
||||
assert(/^https?:\/\/(www\.)?freecatphotoapp\.com\/?$/i.test($('a').attr('href')));
|
||||
```
|
||||
|
||||
Tu elemento `a` debe tener una etiqueta de cierre.
|
||||
|
Reference in New Issue
Block a user