Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(i18n,learn): processed translations #112

Merged
merged 1 commit into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
id: 561abd10cb81ac38a17513bc
title: Certificación en estructura de datos y Algoritmos de JavaScript
title: Legacy JavaScript Algorithms and Data Structures Certification
certification: javascript-algorithms-and-data-structures
challengeType: 7
isPrivate: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
id: 658180220947283cdc0689ce
title: Certificación en algoritmos y estructuras de datos de JavaScript (Beta)
title: JavaScript Algorithms and Data Structures Certification
certification: javascript-algorithms-and-data-structures-v8
challengeType: 7
isPrivate: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,14 @@ assert.isTrue(document.querySelector('img').classList.contains('thick-green-bord
Tu imagen debe tener un ancho de borde o "border-width" de `10px`.

```js
// Note: to any future maintainers, the read width of the border is dependent on
// the zoom. For example we cannot match 10px exactly because if a campers set the zoom to 110%
// it will be read as 9~px.
const image = document.querySelector('img');
const imageBorderTopWidth = window.getComputedStyle(image)["border-top-width"];

assert.strictEqual(imageBorderTopWidth, "10px")
const widthNumber = parseInt(imageBorderTopWidth);
assert.isAtLeast(widthNumber, 8);
assert.isAtMost(widthNumber, 12);
```

Tu imagen debe tener un estilo de borde o "border-style" `solid`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,49 +22,66 @@ El encabezado `header`, el `.profile-name` del encabezado, el `.follow-btn` del
Tu `.follow-btn` debe mostrarse en la página. Asegúrate de desactivar las extensiones, como los bloqueadores de anuncios.

```js
assert($('.follow-btn').length > 0 && $('.follow-btn').css('display') !== 'none');
const followButton = document.querySelector('.follow-btn');
const displayStyle = window.getComputedStyle(followButton)['display'];
assert.isNotNull(followButton);
assert.notStrictEqual(displayStyle, 'none');
```

Tu `header` debe tener una propiedad `display` establecida en `flex`.

```js
assert($('header').css('display') == 'flex');
const header = document.querySelector('header');
const displayStyle = window.getComputedStyle(header)['display'];
assert.strictEqual(displayStyle, 'flex');
```

Tu `footer` debe tener una propiedad `display` establecida en `flex`.

```js
assert($('footer').css('display') == 'flex');
const footer = document.querySelector('footer');
const displayStyle = window.getComputedStyle(footer)['display'];
assert.strictEqual(displayStyle, 'flex');
```

Tu `h3` debe tener una propiedad `display` establecida en `flex`.

```js
assert($('h3').css('display') == 'flex');
const h3Element = document.querySelector('h3');
const displayStyle = window.getComputedStyle(h3Element)['display'];
assert.strictEqual(displayStyle, 'flex');
```

Tu `h4` debe tener una propiedad `display` establecida en `flex`.

```js
assert($('h4').css('display') == 'flex');
const h4Element = document.querySelector('h4');
const displayStyle = window.getComputedStyle(h4Element)['display'];
assert.strictEqual(displayStyle, 'flex');
```

Tu `.profile-name` debe tener una propiedad `display` establecida en `flex`.

```js
assert($('.profile-name').css('display') == 'flex');
const profileName = document.querySelector('.profile-name');
const displayStyle = window.getComputedStyle(profileName)['display'];
assert.strictEqual(displayStyle, 'flex');
```

Tu `.follow-btn` debe tener una propiedad `display` establecida en `flex`.

```js
assert($('.follow-btn').css('display') == 'flex');
const followButton = document.querySelector('.follow-btn');
const displayStyle = window.getComputedStyle(followButton)['display'];
assert.strictEqual(displayStyle, 'flex');
```

Tu `.stats` debe tener una propiedad `display` establecida en `flex`.

```js
assert($('.stats').css('display') == 'flex');
const stats = document.querySelector('.stats');
const displayStyle = window.getComputedStyle(stats)['display'];
assert.strictEqual(displayStyle, 'flex');
```

# --seed--
Expand Down Expand Up @@ -142,18 +159,17 @@ assert($('.stats').css('display') == 'flex');
</div>
</header>
<div id="inner">
<p>I meet so many people who are in search of that one trick that will help them work smart. Even if you work smart, you still have to work hard.</p>
<p>
I meet so many people who are in search of that one trick that will help
them work smart. Even if you work smart, you still have to work hard.
</p>
<span class="date">1:32 PM - 12 Jan 2018</span>
<hr>
<hr />
</div>
<footer>
<div class="stats">
<div class="Retweets">
<strong>107</strong> Retweets
</div>
<div class="likes">
<strong>431</strong> Likes
</div>
<div class="Retweets"><strong>107</strong> Retweets</div>
<div class="likes"><strong>431</strong> Likes</div>
</div>
<div class="cta">
<button class="share-btn">Share</button>
Expand All @@ -171,7 +187,7 @@ assert($('.stats').css('display') == 'flex');
font-family: Arial, sans-serif;
}
header {
display: flex;
display: flex;
}
header .profile-thumbnail {
width: 50px;
Expand All @@ -191,7 +207,8 @@ assert($('.stats').css('display') == 'flex');
border-radius: 3px;
padding: 5px;
}
header h3, header h4 {
header h3,
header h4 {
display: flex;
margin: 0;
}
Expand Down Expand Up @@ -226,7 +243,11 @@ assert($('.stats').css('display') == 'flex');
}
</style>
<header>
<img src="https://cdn.freecodecamp.org/curriculum/legacy-css-flexbox/quincy-twitter-photo.jpg" alt="Quincy Larson's profile picture" class="profile-thumbnail">
<img
src="https://cdn.freecodecamp.org/curriculum/legacy-css-flexbox/quincy-twitter-photo.jpg"
alt="Quincy Larson's profile picture"
class="profile-thumbnail"
/>
<div class="profile-name">
<h3>Quincy Larson</h3>
<h4>@ossia</h4>
Expand All @@ -236,18 +257,17 @@ assert($('.stats').css('display') == 'flex');
</div>
</header>
<div id="inner">
<p>I meet so many people who are in search of that one trick that will help them work smart. Even if you work smart, you still have to work hard.</p>
<p>
I meet so many people who are in search of that one trick that will help
them work smart. Even if you work smart, you still have to work hard.
</p>
<span class="date">1:32 PM - 12 Jan 2018</span>
<hr>
<hr />
</div>
<footer>
<div class="stats">
<div class="Retweets">
<strong>107</strong> Retweets
</div>
<div class="likes">
<strong>431</strong> Likes
</div>
<div class="Retweets"><strong>107</strong> Retweets</div>
<div class="likes"><strong>431</strong> Likes</div>
</div>
<div class="cta">
<button class="share-btn">Share</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ Prueba las otras opciones de la propiedad `align-items` en el editor de código
El elemento `#box-container` debe tener una propiedad `align-items` establecida en un valor de `center`.

```js
assert($('#box-container').css('align-items') == 'center');
const boxContainer = document.querySelector('#box-container');
const alignment = window.getComputedStyle(boxContainer)['align-items'];
assert.strictEqual(alignment, 'center');
```

# --seed--
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ Prueba las otras opciones de la propiedad `justify-content` en el editor de cód
El elemento `#box-container` debe tener una propiedad `justify-content` establecida en un valor de `center`.

```js
assert($('#box-container').css('justify-content') == 'center');
const boxContainer = document.querySelector('#box-container');
const justifyDirection =
window.getComputedStyle(boxContainer)['justify-content'];
assert.strictEqual(justifyDirection, 'center');
```

# --seed--
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,18 @@ Agrega la propiedad CSS `flex-direction` al elemento `.profile-name` del título
Tu `.follow-btn` debe representarse en la página. Asegúrate de desactivar las extensiones, como los bloqueadores de anuncios.

```js
assert($('.follow-btn').length > 0 && $('.follow-btn').css('display') !== 'none');
const followButton = document.querySelector('.follow-btn');
const displayStyle = window.getComputedStyle(followButton)['display'];
assert.isNotNull(followButton);
assert.notStrictEqual(displayStyle, 'none');
```

El elemento `.profile-name` debe tener una propiedad `flex-direction` establecida en `column`.

```js
assert($('.profile-name').css('flex-direction') == 'column');
const profileName = document.querySelector('.profile-name');
const flexDirection = window.getComputedStyle(profileName)['flex-direction'];
assert.strictEqual(flexDirection, 'column');
```

# --seed--
Expand All @@ -38,7 +43,8 @@ assert($('.profile-name').css('flex-direction') == 'column');
body {
font-family: Arial, sans-serif;
}
header, footer {
header,
footer {
display: flex;
flex-direction: row;
}
Expand All @@ -61,7 +67,8 @@ assert($('.profile-name').css('flex-direction') == 'column');
border-radius: 3px;
padding: 5px;
}
header h3, header h4 {
header h3,
header h4 {
display: flex;
margin: 0;
}
Expand Down Expand Up @@ -93,7 +100,11 @@ assert($('.profile-name').css('flex-direction') == 'column');
}
</style>
<header>
<img src="https://cdn.freecodecamp.org/curriculum/legacy-css-flexbox/quincy-twitter-photo.jpg" alt="Quincy Larson's profile picture" class="profile-thumbnail">
<img
src="https://cdn.freecodecamp.org/curriculum/legacy-css-flexbox/quincy-twitter-photo.jpg"
alt="Quincy Larson's profile picture"
class="profile-thumbnail"
/>
<div class="profile-name">
<h3>Quincy Larson</h3>
<h4>@ossia</h4>
Expand All @@ -103,18 +114,17 @@ assert($('.profile-name').css('flex-direction') == 'column');
</div>
</header>
<div id="inner">
<p>I meet so many people who are in search of that one trick that will help them work smart. Even if you work smart, you still have to work hard.</p>
<p>
I meet so many people who are in search of that one trick that will help
them work smart. Even if you work smart, you still have to work hard.
</p>
<span class="date">1:32 PM - 12 Jan 2018</span>
<hr>
<hr />
</div>
<footer>
<div class="stats">
<div class="Retweets">
<strong>107</strong> Retweets
</div>
<div class="likes">
<strong>431</strong> Likes
</div>
<div class="Retweets"><strong>107</strong> Retweets</div>
<div class="likes"><strong>431</strong> Likes</div>
</div>
<div class="cta">
<button class="share-btn">Share</button>
Expand All @@ -131,7 +141,8 @@ assert($('.profile-name').css('flex-direction') == 'column');
body {
font-family: Arial, sans-serif;
}
header, footer {
header,
footer {
display: flex;
flex-direction: row;
}
Expand All @@ -154,7 +165,8 @@ assert($('.profile-name').css('flex-direction') == 'column');
border-radius: 3px;
padding: 5px;
}
header h3, header h4 {
header h3,
header h4 {
display: flex;
margin: 0;
}
Expand Down Expand Up @@ -186,7 +198,11 @@ assert($('.profile-name').css('flex-direction') == 'column');
}
</style>
<header>
<img src="https://cdn.freecodecamp.org/curriculum/legacy-css-flexbox/quincy-twitter-photo.jpg" alt="Quincy Larson's profile picture" class="profile-thumbnail">
<img
src="https://cdn.freecodecamp.org/curriculum/legacy-css-flexbox/quincy-twitter-photo.jpg"
alt="Quincy Larson's profile picture"
class="profile-thumbnail"
/>
<div class="profile-name">
<h3>Quincy Larson</h3>
<h4>@ossia</h4>
Expand All @@ -196,18 +212,17 @@ assert($('.profile-name').css('flex-direction') == 'column');
</div>
</header>
<div id="inner">
<p>I meet so many people who are in search of that one trick that will help them work smart. Even if you work smart, you still have to work hard.</p>
<p>
I meet so many people who are in search of that one trick that will help
them work smart. Even if you work smart, you still have to work hard.
</p>
<span class="date">1:32 PM - 12 Jan 2018</span>
<hr>
<hr />
</div>
<footer>
<div class="stats">
<div class="Retweets">
<strong>107</strong> Retweets
</div>
<div class="likes">
<strong>431</strong> Likes
</div>
<div class="Retweets"><strong>107</strong> Retweets</div>
<div class="likes"><strong>431</strong> Likes</div>
</div>
<div class="cta">
<button class="share-btn">Share</button>
Expand Down
Loading
Loading