From 516fe6cf124193933234370e9fd58df168c6ea58 Mon Sep 17 00:00:00 2001 From: Francois Wouts Date: Tue, 17 Oct 2017 12:37:55 +1100 Subject: [PATCH] Improve wording in if-statement problem This fixes #206 in English, French, Spanish and Italian. --- problems/if-statement/problem.md | 2 +- problems/if-statement/problem_es.md | 2 +- problems/if-statement/problem_fr.md | 2 +- problems/if-statement/problem_it.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/problems/if-statement/problem.md b/problems/if-statement/problem.md index 7c0d4670..3ec7a76b 100644 --- a/problems/if-statement/problem.md +++ b/problems/if-statement/problem.md @@ -20,7 +20,7 @@ Create a file named `if-statement.js`. In that file, declare a variable named `fruit`. -Make the `fruit` variable reference the value **orange** with the type of **String**. +Make the `fruit` variable reference the string value **"orange"**. Then use `console.log()` to print "**The fruit name has more than five characters."** if the length of the value of `fruit` is greater than five. Otherwise, print "**The fruit name has five characters or less.**" diff --git a/problems/if-statement/problem_es.md b/problems/if-statement/problem_es.md index c90927c0..e5f7eb1d 100644 --- a/problems/if-statement/problem_es.md +++ b/problems/if-statement/problem_es.md @@ -20,7 +20,7 @@ Crea un archivo llamando `if-statement.js`. En ese archivo, declara una variabe llamada `fruit`. -Haz la variable `fruit` referenciar al valor **orange**, del tipo **String**. +Haz la variable `fruit` referenciar a la cadena de caracteres **"orange"**. Luego utiliza `console.log()` para imprimir a la terminal "**The fruit name has more than five characters."** si el length de la variable `fruit` es mayor a cinco. Imprime "**The fruit name has five characters or less.**" de lo contrario. diff --git a/problems/if-statement/problem_fr.md b/problems/if-statement/problem_fr.md index b65a4793..fe20594d 100644 --- a/problems/if-statement/problem_fr.md +++ b/problems/if-statement/problem_fr.md @@ -20,7 +20,7 @@ Créez un fichier nommé `instruction-conditionnelle.js`. Dans ce fichier, déclarez une variable `fruit`. -Assignez à la variable `fruit` la valeur `orange` du type `String`. +Assignez à la variable `fruit` la chaîne de caractères ***"orange"***. Utilisez ensuite `console.log()` pour afficher **« The fruit name has more than five characters. »** si la longueur du contenu de la variable `fruit` est supérieure à cinq. Sinon, affichez **« The fruit name has five characters or less. »** diff --git a/problems/if-statement/problem_it.md b/problems/if-statement/problem_it.md index cd99794b..8dbc56c3 100644 --- a/problems/if-statement/problem_it.md +++ b/problems/if-statement/problem_it.md @@ -20,7 +20,7 @@ Crea un file dal nome `if-statement.js`. In questo file, dichiara una variabile chiamata `fruit`. -Fa' in modo che la variabile `fruit` referenzi il valore **orange** con il tipo **String**. +Fa' in modo che la variabile `fruit` referenzi la stringa **"orange"**. Quindi usa `console.log()` per stampare "**The fruit name has more than five characters."** se la lunghezza del valore di `fruit` è maggiore di cinque. Altrimenti, stampa "**The fruit name has five characters or less.**"