chore(i18n,curriculum): update translations (#41917)

This commit is contained in:
camperbot
2021-04-25 00:53:08 +09:00
committed by GitHub
parent 6be76738b0
commit 6f744e063e
9 changed files with 58 additions and 37 deletions

View File

@ -57,7 +57,7 @@ Solo debes utilizar un selector de elementos `h2` para cambiar la fuente.
```js
assert(
/\s*[^\.]h2\s*\{\s*font-family\:\s*(['"]?)Lobster\1\s*(;\s*\}|\})/gi.test(
/\s*[^\.]h2\s*\{\s*font-family\s*:\s*('|"|)Lobster\1\s*(,\s*('|"|)[a-z -]+\3\s*)?(;\s*\}|\})/gi.test(
code
)
);

View File

@ -2,7 +2,6 @@
id: bad87fee1348bd9aede08817
title: Anida un elemento anchor dentro de un párrafo
challengeType: 0
videoUrl: 'https://scrimba.com/p/pVMPUv/cb6k8Cb'
forumTopicId: 18244
dashedName: nest-an-anchor-element-within-a-paragraph
---

View File

@ -30,13 +30,21 @@ Establece el ancho `width` de la etiqueta `h2` al 80% del ancho del viewport y e
Tu etiqueta `h2` debe tener un `width` de 80vw.
```js
assert(code.match(/h2\s*?{\s*?width:\s*?80vw;\s*?}/g));
assert(
__helpers
.removeCssComments(code)
.match(/h2\s*?{\s*?width:\s*?80vw;\s*?}/g)
);
```
Tu etiqueta `p` debe tener un `width` de 75vmin.
```js
assert(code.match(/p\s*?{\s*?width:\s*?75vmin;\s*?}/g));
assert(
__helpers
.removeCssComments(code)
.match(/p\s*?{\s*?width:\s*?75vmin;\s*?}/g)
);
```
# --seed--