To examine the HTML of any page with our browser, what
Is it the tool we use?
The Inspect Element (Inspect) or View Page Source
2.
What is HTML used for?
To semantically structure the content of a website
3.
What is CSS used for?
To define the styles of a website
4.
What is JavaScript used for?
To program the interactivity of a website
5.
What is the purpose of the 'alert' function in JavaScript and how is it invoked?
Triggers an alert window in the browser, with the message that
let's configure; it runs as:
alert('My Message');
6.
What is the basic structure of an HTML5 file?
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
</body>
</html>
7.
What is the purpose of the <strong> tag?
Make the text more important by showing it in bold.
8.
These are some rules regarding variable names in
JavaScript:
They must start with a letter and cannot have spaces
9.
What does the [Link] function do?
It helps us write directly in our HTML using JavaScript.
By default, insert a string inside the Body tag
10.
What is [Link]( ) used for?
It works to display information within the web console
11.
It is the way to invoke an external JavaScript file from
our HTML:
<script src="[Link]"></script>
REVIEW CLASS
12.
When you want to start drawing in HTML, which tag helps us?
create a canvas?
canvas
13.
What purpose does a function serve?
Helps us to reuse / encapsulate code fragments that will be used
constantly.
14.
If we want to declare a variable called message and assign it the text
"I know how to program," I do it with the option:
var mensaje = "Ya sé programar”;
15.
Why should we place the <script> tag just before it closes?
the <body>?
Because if we don't do it this way, our site breaks.
REVIEW CLASS
16.
¿Qué resultado obtenemos al tener z = [Link](4.64);
17.
If I have the following code
[Link](variable);
function declare() { variable = 12; }
What will be displayed in the console?
Error: 12 not defined
18.
What does the parseInt() function do?
Receive a string and return an integer
19.
What is concatenation?
Join 2 or more text strings
20.
What do we use the prompt function for?
To receive data from the user
21.
If you run the following code, what will be displayed in the console
varvariable;
if(variable) { [Link](works);
}
[Link](it doesn't work);
}
Error: varvariable not defined
22.
For the code:
var a = 10;
var b = "12";
var c = b + a;
What type of variable is c?
String
23.
In the following code, what is the value of the variable vida?
function pakiman(life)
{
life = life + life;
life++
return life;
}
var life = 2;
life = pakiman(life);
REVIEW CLASS
24.
What value will [Link] show in the following program?
var enter = 0;
var altura = 101;
if ( height > 100 || height < 50) {
entrar = 1;
}
else if(altura > 60 || altura < 40){
entrar = 2;
}
[Link](enter);
25.
When executing the following code:
var paki = {
nombre: "Pakiman",
attack: 101
};
[Link] = [Link] * 2;
How much is [Link]?
202
26.
When running the following code:
var counter = 2;
var na = "na";
while(count)
{
na += na;
counter -= 1;
}
[Link](na + " Freddy ")
What will be displayed in the console?
nanana Freddy
27.
It is the way to execute the function 'move' when the user presses
any key
[Link]("keydown", mover);
28.
In HTML, the tag:
<meta charset="utf-8" />
It is used for:
Make the text compatible with international characters
29.
In programming, Frontend is:
Who programs the interaction with the user?
30.
In programming, Backend is:
Who programs the connection with the server and the database for the
user
RETURN