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

Improve wording in if-statement problem #207

Merged
merged 1 commit into from
Aug 17, 2019
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion problems/if-statement/problem.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.**"
Expand Down
2 changes: 1 addition & 1 deletion problems/if-statement/problem_es.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion problems/if-statement/problem_fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. »**
Expand Down
2 changes: 1 addition & 1 deletion problems/if-statement/problem_it.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.**"
Expand Down