<commit_before>//What is the value of x?
//cual es el valor de x?
var a = "http://www.github.com/api?";
var b = "repoid=";
var c = 55;
var x = a+ b + c;


//what is the value of x?
//cual es el valor de x?
var a = 5;
var b = 6;
var c = "hello"
var x = a + b + c;


//what is the value of x?
//cual es el valor de x?
var arr = [1,2,3,4,5,6,7];
var x = 0;
for (var i = 0; i < arr.length; i++){
    x += arr[i];
}

/*Write a function which receives two inputs: a variable x and an array.
it should return true whenever the variable x is present in the array
and false otherwise.
Escribe una function que recibe dos parametros: una variable x y un arreglo.  Debe retornar verdadero cuando la variable x esta presente en el arreglo y falso de otra manera.
*/
function findX(arr, x){

}



/*Write a function getAvg.
It should return the average of the values of the elements in the array.
The average is the sum of the elements divided by the number of elements.
Escribe una function getAvg. Debe retornar el promedio (Average) de los elementos en el arreglo que recibe como parametro.
*/
function getAvg(arr){

}




/*Write the statement that you would use if you wanted to use jQuery to select the header (containing the navigation bar and search box) of microsoft.com
Escribe el comando que utilizarias si quisieras usar jQuery para seleccionar el header (donde esta la navegacion y la barra de busqueda) de microsoft.com
*/



/*Write the jQuery statement you would use in order to select the statement that reads "Technology Programs" at tech.fvi.edu
Escribe el comando de jQuery que utilizarias para seleccionar el titulo que dice "Technology Programs" en tech.fvi.edu*/






/*Write a complete jQuery statement which can attach an event listener to the button below
Escribe un mini-programa en jQuery que sirva para anexar un manejador de eventos al siguiente boton
*/
<button id="el-boton">Aprietame</button>




/*If you wanted the above button to send a post request to a server, which command would you need? Where would you need to write it?
Si quisieras que ese boton mandara un request a un servidor, que comando puedes usar? Donde lo pondrias? */




/*Write a function that prints "lonely pizza" to the console, and then call the function
Escribe una function que ponga el mensaje "Lonely pizza" en la consola y luego invoca tu funcion
*/






/* Write a for loop that iterates through every values in nums
and prints each value to the console.
Escribe un loop que pase por cada uno de estos elementos e imprima cada valor a la consola.
*/
var nums = [1, 2, 3, 5, 7, 8, 10, 12, 45, 66, 87, 98];




/* Using the specific array function that adds data to the back end of the array, add the next number to your newly corrected list
Utilizando la funcion de los arreglos que adiciona datos al final del arreglo, adiciona el siguiente numero de la secuencia.
*/
var list = [1, 2, 3, 4, 5, 6, 7, 8, 9];





// The array below contains 5 students' names and their ages.
var students = [
  ["clarise", 17],
  ["jose", 18],
  ["emilia", 19],
  ["brandon", 16],
  ["chuck", 18]
];
// Create a function called minors that takes in a parameter called people.
//
// Create a for loop inside of minors that iterates through the people array.
//
// Inside the for loop, if a person has an age that is less than 18, log that
// person's name (only their name, not their age) to the console.
//
// Then call minors and input the students array as the people parameter.





// Log "tuscon" to the console by accessing the myGarage object.
  var myGarage = {
    ford: "taurus",
    hyundai: "tuscon",
    honda: "civic",
    tesla: "model S P100D"
  };



// What is the value of result after runninng the code below?
// Do not use your console to solve this problem. Only use your head or
// pen & paper.
function mystery(input) {
  var secret = 10;
  function mystery2(multiplier) {
    multiplier *= input;
    return secret * multiplier;
  }
  return mystery2;
}

var hidden = mystery(2);
var result = hidden(3);




//In the following index.html file, include a style.css file and a main.js file
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>App</title>

    </head>
    <body>

    </body>
</html>




//What are the two main properties in a jQuery $.ajax call?




//Using css, how would you give an h1 element a black background?




//What values should a, b, and c have for the color black?
rgb(a, b, c)




//Using css, how would you center all of the elements inside of the following div?
<div class="freedom">
    <p>Ipsum flipsum hoodly doo</p>
    <p>Fiddle sticks and shoe strings</p>
    <img src="img/donald-trump-eating-cake.gif">
    <button type="submit">Submit</button>
</div>
<commit_msg>docs: finished spanish translation to test 2.1<commit_after>//What is the value of x?
//cual es el valor de x?
var a = "http://www.github.com/api?";
var b = "repoid=";
var c = 55;
var x = a+ b + c;


//what is the value of x?
//cual es el valor de x?
var a = 5;
var b = 6;
var c = "hello"
var x = a + b + c;


//what is the value of x?
//cual es el valor de x?
var arr = [1,2,3,4,5,6,7];
var x = 0;
for (var i = 0; i < arr.length; i++){
    x += arr[i];
}

/*Write a function which receives two inputs: a variable x and an array.
it should return true whenever the variable x is present in the array
and false otherwise.
Escribe una function que recibe dos parametros: una variable x y un arreglo.  Debe retornar verdadero cuando la variable x esta presente en el arreglo y falso de otra manera.
*/
function findX(arr, x){

}



/*Write a function getAvg.
It should return the average of the values of the elements in the array.
The average is the sum of the elements divided by the number of elements.
Escribe una function getAvg. Debe retornar el promedio (Average) de los elementos en el arreglo que recibe como parametro.
*/
function getAvg(arr){

}




/*Write the statement that you would use if you wanted to use jQuery to select the header (containing the navigation bar and search box) of microsoft.com
Escribe el comando que utilizarias si quisieras usar jQuery para seleccionar el header (donde esta la navegacion y la barra de busqueda) de microsoft.com
*/



/*Write the jQuery statement you would use in order to select the statement that reads "Technology Programs" at tech.fvi.edu
Escribe el comando de jQuery que utilizarias para seleccionar el titulo que dice "Technology Programs" en tech.fvi.edu*/






/*Write a complete jQuery statement which can attach an event listener to the button below
Escribe un mini-programa en jQuery que sirva para anexar un manejador de eventos al siguiente boton
*/
<button id="el-boton">Aprietame</button>




/*If you wanted the above button to send a post request to a server, which command would you need? Where would you need to write it?
Si quisieras que ese boton mandara un request a un servidor, que comando puedes usar? Donde lo pondrias? */




/*Write a function that prints "lonely pizza" to the console, and then call the function
Escribe una function que ponga el mensaje "Lonely pizza" en la consola y luego invoca tu funcion
*/






/* Write a for loop that iterates through every values in nums
and prints each value to the console.
Escribe un loop que pase por cada uno de estos elementos e imprima cada valor a la consola.
*/
var nums = [1, 2, 3, 5, 7, 8, 10, 12, 45, 66, 87, 98];




/* Using the specific array function that adds data to the back end of the array, add the next number to your newly corrected list
Utilizando la funcion de los arreglos que adiciona datos al final del arreglo, adiciona el siguiente numero de la secuencia.
*/
var list = [1, 2, 3, 4, 5, 6, 7, 8, 9];





// The array below contains 5 students' names and their ages.
// El siguiente arreglo contiene 5 nombres y edades de estudiantes
var students = [
  ["clarise", 17],
  ["jose", 18],
  ["emilia", 19],
  ["brandon", 16],
  ["chuck", 18]
];
/* Create a function called minors that takes in a parameter called people. Create a for loop inside of minors that iterates through the people array. Inside the for loop, if a person has an age that is less than 18, log that person's name (only their name, not their age) to the console. Then call minors and input the students array as the people parameter.
Crea una funcion llamada menores que reciba un parametro. El parametro debe ser un arreglo que siga la estructura del arreglo students. Crea un for loop que haga lo siguiente: si alguna persona tiene edad menor de 18, pon el nombre (solo el nombre) de la persona en la consola. Luego llama a tu funcion minors y pasale el arreglo students como parametro.
*/




// Log "tuscon" to the console by accessing the myGarage object.
// Loggea "tucson" a la consola accediendo a dicho valor mediante el siguiente objeto:
  var myGarage = {
    ford: "taurus",
    hyundai: "tuscon",
    honda: "civic",
    tesla: "model S P100D"
  };



/* What is the value of result after runninng the code below? Do not use your console to solve this problem. Only use your head or pen & paper.
Cual es el valor de result luego de ejecutar el siguiente codigo? No utilizes la consola para resolver este problema.
*/
function mystery(input) {
  var secret = 10;
  function mystery2(multiplier) {
    multiplier *= input;
    return secret * multiplier;
  }
  return mystery2;
}

var hidden = mystery(2);
var result = hidden(3);




/*In the following index.html file, include a style.css file and a main.js file
En el siguiente archivo, incluye un style.css y un main.js
*/
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>App</title>

    </head>
    <body>

    </body>
</html>




//What are the two main properties in the object that must be passed as a parameter to a jQuery $.ajax call?
//Cuales son las dos propiedades principales del objeto que hay que pasarle como parametro a la funcion $.ajax()?



//Using css, how would you give h1 elements a black background?
//Utilizando css, como le darias fondo negro a todos los elementos h1?



//What values should a, b, and c have for the color black? rgb(a, b, c)
//Cuales deben ser los valores de a, b, y c para obtener el color negro? rgb(a,b,c)




//Using css, how would you center all of the elements inside of the following div?
// Utilizando css, como centrarias todos los elementos dentro del siguiente div?
<div class="freedom">
    <p>Ipsum flipsum hoodly doo</p>
    <p>Fiddle sticks and shoe strings</p>
    <img src="img/donald-trump-eating-cake.gif">
    <button type="submit">Submit</button>
</div>

{'fraction_non_alphanumeric': 0.0854118729866544, 'fraction_numerical': 0.012701334560515417, 'mean_word_length': 3.4532786885245903, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 49, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '164200', 'n_tokens_mistral': 3588, 'n_tokens_neox': 3342, 'n_words': 1688}