Clarify Make a Person instructions & add ES trans
- Remove use of arity and rewrite with better description - Change use of "function" to "method" for consistency - Put methods into blockquote tags - Update Spanish translation of challenge
This commit is contained in:
@ -311,10 +311,11 @@
|
|||||||
"id": "a2f1d72d9b908d0bd72bb9f6",
|
"id": "a2f1d72d9b908d0bd72bb9f6",
|
||||||
"title": "Make a Person",
|
"title": "Make a Person",
|
||||||
"description": [
|
"description": [
|
||||||
"Fill in the object constructor with the methods specified in the tests.",
|
"Fill in the object constructor with the following methods below:",
|
||||||
"Those methods are getFirstName(), getLastName(), getFullName(), setFirstName(first), setLastName(last), and setFullName(firstAndLast).",
|
"<blockquote>getFirstName()\ngetLastName()\ngetFullName()\nsetFirstName(first)\nsetLastName(last)\nsetFullName(firstAndLast)</blockquote>",
|
||||||
"All functions that take an argument have an arity of 1, and the argument will be a string.",
|
"Run the tests to see the expected output for each method.",
|
||||||
"These methods must be the only available means for interacting with the object.",
|
"The methods that take an argument must accept only one argument and it has to be a string.",
|
||||||
|
"These methods must be the only available means of interacting with the object.",
|
||||||
"Remember to use <a href='//github.com/FreeCodeCamp/freecodecamp/wiki/How-to-get-help-when-you-get-stuck' target='_blank'>Read-Search-Ask</a> if you get stuck. Try to pair program. Write your own code."
|
"Remember to use <a href='//github.com/FreeCodeCamp/freecodecamp/wiki/How-to-get-help-when-you-get-stuck' target='_blank'>Read-Search-Ask</a> if you get stuck. Try to pair program. Write your own code."
|
||||||
],
|
],
|
||||||
"challengeSeed": [
|
"challengeSeed": [
|
||||||
@ -350,11 +351,12 @@
|
|||||||
"challengeType": 5,
|
"challengeType": 5,
|
||||||
"titleEs": "Crea una Persona",
|
"titleEs": "Crea una Persona",
|
||||||
"descriptionEs": [
|
"descriptionEs": [
|
||||||
"Completa el constructor de objetos con los métodos especificados en las pruebas.",
|
"Completa el constructor de objetos con los métodos especificados a continuación:",
|
||||||
"Los métodos son: getFirstName(), getLastName(), getFullName(), setFirstName(first), setLastName(last), y setFullName(firstAndLast). ",
|
"<blockquote>getFirstName()\ngetLastName()\ngetFullName()\nsetFirstName(first)\nsetLastName(last)\nsetFullName(firstAndLast)</blockquote>",
|
||||||
"Todas las funciones que aceptan un argumento tienen una aridad de 1, y el argumento es una cadena de texto",
|
"Ejecuta las pruebas para ver el resultado esperado de cada método.",
|
||||||
"Estos métodos deben ser el único medio para interactuar con el objeto",
|
"Las funciones que aceptan argumentos deben aceptar sólo uno, y este tiene que ser una cadena.",
|
||||||
"Recuerda utilizar <a href='//github.com/FreeCodeCamp/freecodecamp/wiki/How-to-get-help-when-you-get-stuck' target='_blank'>Read-Search-Ask</a> si te sientes atascado. Intenta programar en pareja. Escribe tu propio código."
|
"Estos métodos deben ser el único medio para interactuar con el objeto.",
|
||||||
|
"Recuerda utilizar <a href='//github.com/FreeCodeCamp/freecodecamp/wiki/How-to-get-help-when-you-get-stuck' target='_blank'>Leer-Buscar-Preguntar</a> si te sientes atascado. Intenta programar en pareja. Escribe tu propio código."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user