diff --git a/challenges/01-front-end-development-certification/basic-javascript.json b/challenges/01-front-end-development-certification/basic-javascript.json index 9a1c5dd9db0..93945a99d83 100644 --- a/challenges/01-front-end-development-certification/basic-javascript.json +++ b/challenges/01-front-end-development-certification/basic-javascript.json @@ -5850,31 +5850,31 @@ "fcces", " ", "
images. We can use different indexes to grab each of these.",
"Here's how we would set the first slot to show a different image depending on which number its random number generates:",
- "$($('.slot')[0]).html('<img src = \"' + images[slotOne-1] + '\">');",
+ "$($('.slot')[0]).html('<img src=\"' + images[slotOne-1] + '\">');",
"Set up all three slots like this, then click the \"Go\" button to play the slot machine."
],
"challengeSeed": [
@@ -6390,31 +6390,31 @@
"fcces",
" ",
"images. Podemos utilizar diferentes índices para tomara cada una de estas. ",
"Aquí está como haríamos que la primera casilla muestre una imagen diferente dependiendo del número aleatorio que se genere:",
- "$($('.slot')[0]).html('<img src = \"' + images[slotOne-1] + '\">');",
+ "$($('.slot')[0]).html('<img src=\"' + images[slotOne-1] + '\">');",
"Configura las tres casillas de manera análoga, a continuación, pulsa el botón \"Go\" para jugar con la máquina tragamonedas."
]
}
diff --git a/challenges/01-front-end-development-certification/bootstrap.json b/challenges/01-front-end-development-certification/bootstrap.json
index a2a2cf9d17b..34cff5ba357 100644
--- a/challenges/01-front-end-development-certification/bootstrap.json
+++ b/challenges/01-front-end-development-certification/bootstrap.json
@@ -1019,7 +1019,7 @@
"By using the span element, you can put several elements together, and even style different parts of the same element differently.",
"Nest the word \"love\" in your \"Things cats love\" element below within a span element. Then give that span the class text-danger to make the text red.",
"Here's how you would do this with the \"Top 3 things cats hate\" element:",
- "<p>Top 3 things cats <span class = \"text-danger\">hate:</span></p>"
+ "<p>Top 3 things cats <span class=\"text-danger\">hate:</span></p>"
],
"challengeSeed": [
"",
@@ -1096,7 +1096,7 @@
"Al usar el elemento span, puedes poner varios elementos juntos, e incluso darle diferentes estilos a partes diferentes del mismo elemento.",
"Anida la palabra \"love\" en tu elemento \"Things cats love\" dentro de un elemento span. Luego, asigna a ese elemento span la clase text-danger para hacer que el texto sea rojo.",
"Así es como lo harías con el elemento \"Top 3 things cats hate\":",
- "<p>Top 3 things cats <span class = \"text-danger\">hate:</span></p>"
+ "<p>Top 3 things cats <span class=\"text-danger\">hate:</span></p>"
]
},
"fr": {
@@ -1108,7 +1108,7 @@
"En utilisant un élément span, vous pouvez mettre ensemble plusieurs éléments, et même donner un style différent à plusieurs parties d'un même élément",
"Nichez le mot \"love\" dans votre élément \"Things cats love\" en dessous dans un élément span; Ensuite donnez à ce span la classe text-danger pour rendre le texte rouge.",
"Il faudrait que vous fassiez ainsi pour l'élément \"Top 3 things cats hate\":",
- "<p>Top 3 things cats <span class = \"text-danger\">hate:</span></p>"
+ "<p>Top 3 things cats <span class=\"text-danger\">hate:</span></p>"
]
}
}
diff --git a/challenges/01-front-end-development-certification/json-apis-and-ajax.json b/challenges/01-front-end-development-certification/json-apis-and-ajax.json
index e89f40c416a..231f240f759 100644
--- a/challenges/01-front-end-development-certification/json-apis-and-ajax.json
+++ b/challenges/01-front-end-development-certification/json-apis-and-ajax.json
@@ -29,17 +29,17 @@
"",
"",
"var html = \"\";.",
"Then, let's loop through our JSON, adding more HTML to that variable. When the loop is finished, we'll render it.",
"Here's the code that does this:",
- "json.forEach(function(val) { var keys = Object.keys(val); html += \"<div class = 'cat'>\"; keys.forEach(function(key) { html += \"<strong>\" + key + \"</strong>: \" + val[key] + \"<br>\"; }); html += \"</div><br>\";});" + "
json.forEach(function(val) { var keys = Object.keys(val); html += \"<div class='cat'>\"; keys.forEach(function(key) { html += \"<strong>\" + key + \"</strong>: \" + val[key] + \"<br>\"; }); html += \"</div><br>\";});" ], "challengeSeed": [ "fccss", @@ -262,17 +262,17 @@ "fcces", "", "
html con var html = \"\";.",
"Después, iteremos a traveś de nuestro JSON, añadiendo más HTML a esa variable. Cuando se termina el ciclo, vamos a presentarla. ",
"Aquí está el código que hace esto:",
- "json.forEach(function(val) { var keys = Object.keys(val); html += \"<div class = 'cat'>\"; keys.forEach(function(key) { html += \"<strong>\" + key + \"</strong>: \" + val[key] + \"<br>\"; }); html += \"</div><br>\";});" + "
json.forEach(function(val) { var keys = Object.keys(val); html += \"<div class='cat'>\"; keys.forEach(function(key) { html += \"<strong>\" + key + \"</strong>: \" + val[key] + \"<br>\"; }); html += \"</div><br>\";});" ] }, "pt": { @@ -304,7 +304,7 @@ "Em primeiro lugar, vamos declarar uma variável chamada
html com var html = \"\";.",
"Depois, vamos percorrer através do nosso JSON, adicionando mais HTML para a nossa variável. Quando essa iteração terminar, vamos apresentar o resultado.",
"Aqui está o código que faz isso:",
- "json.forEach(function(val) { var keys = Object.keys(val); html += \"<div class = 'cat'>\"; keys.forEach(function(key) { html += \"<strong>\" + key + \"</strong>: \" + val[key] + \"<br>\"; }); html += \"</div><br>\";});" + "
json.forEach(function(val) { var keys = Object.keys(val); html += \"<div class='cat'>\"; keys.forEach(function(key) { html += \"<strong>\" + key + \"</strong>: \" + val[key] + \"<br>\"; }); html += \"</div><br>\";});" ] } } @@ -316,7 +316,7 @@ "We've seen from the last two lessons that each object in our JSON array contains an
imageLink key with a value that is the URL of a cat's image.",
"When we're looping through these objects, let's use this imageLink property to display this image in an img element.",
"Here's the code that does this:",
- "html += \"<img src = '\" + val.imageLink + \"' \" + \"alt='\" + val.altText + \"'>\";"
+ "html += \"<img src='\" + val.imageLink + \"' \" + \"alt='\" + val.altText + \"'>\";"
],
"challengeSeed": [
"fccss",
@@ -329,7 +329,7 @@
"",
" json.forEach(function(val) {",
"",
- " html += \"imageLink con un valor que corresponde a la URL de la imagen de un gato.",
"Cuando estamos recorriendo estos objetos, usemos esta propiedad imageLink para visualizar la imagen en un elemento img.",
"Aquí está el código que hace esto:",
- "html += \"<img src = '\" + val.imageLink + \"' \" + \"alt='\" + val.altText + \"'>\";"
+ "html += \"<img src='\" + val.imageLink + \"' \" + \"alt='\" + val.altText + \"'>\";"
]
},
"pt": {
@@ -387,7 +387,7 @@
"Como temos visto nas ultimas lições, cada objeto em nosso array JSON contém a chave imageLink com um valor que corresponde a URL da imagem de um gato.",
"Quando estamos percorrendo por estes objetos, usamos a propriedade imageLink para visualizar a imagem em um elemento img.",
"Aqui está o código para fazer isso:",
- "html += \"<img src = '\" + val.imageLink + \"' \" + \"alt='\" + val.altText + \"'>\";"
+ "html += \"<img src='\" + val.imageLink + \"' \" + \"alt='\" + val.altText + \"'>\";"
]
}
}
@@ -418,9 +418,9 @@
"",
" json.forEach(function(val) {",
"",
- " html += \"