JavaScript Vocational Training Guide
JavaScript Vocational Training Guide
Nombre del Proyecto (si es formación Titulada): ADSI ANALISIS Y DESARROLLO DE SISTEMAS DE
INFORMATION
Project Phase (if it is a Certified Training): Analysis, planning, execution, and Evaluation
2. PRESENTATION
After acquiring basic knowledge in HTML, it is important to learn about JavaScript. JavaScript
allows for different programs to run on the Client Side, that is, in the same browser
Web, without the need to go to the Server. This allows for greater efficiency in some aspects and on
always avoid connecting to the server when it is not really necessary.
JavaScript allows Object-Oriented Programming, enables the use of DHTML along with CSS. There are
very diverse JavaScript libraries that are widely used such as JQUERY, PROTOTYPE, MOOTOOLS among others
others that allow reducing time in programming.
Reflect
JavaScript allows for improvements in user interfaces and dynamic web pages, compiling on the side of
client.
GFPI-F-019 V3
NATIONAL LEARNING SERVICE SENA
Curriculum Development Procedure
LEARNING GUIDE
Why JavaScript?
Response: Because it is a concept oriented to objects that is based on dynamic prototypes implemented
by a web browser allowing the user interface and the page.
Response: Yes, it is necessary because it is simple and is used for web page development and analysis.
the databases and is compatible with different devices.
Response: the problem is that once web pages from the servers are added, they are downloaded and
ejecutan en el navegador permitiendo códigos maliciosos esto genera una vulnerabilidad en la seguridad
of the operating system.
Below, you will find an activity where you can establish and identify the prior concepts for
the development and implementation of Programs with JavaScript. It is suggested to investigate and interpret the
following topics:
What is JavaScript?
Response: JavaScript is a programming language that allows for the insertion of code for a function of a
web page in HTML and does not create standalone programs.
No, because Java is a programming language that is fundamentally for creating applications.
for the internet that allows any operation to be performed on the computer and JavaScript performs activities
complex such as showing updates of a content example controlling the files.
Response: PHP is a server-side language that processes the source code and JavaScript is a language
on the browser side responding to the HTML.
Response: Double forward slash at the beginning of the line or in front of the code when commenting.
NATIONAL LEARNING SERVICE SENA
Curriculum Development Procedure
LEARNING GUIDE
Response: It is defined in the same way using the word VAR which assigns a value to store.
Response: the format for the files is JSWebsite which corresponds to a text file that is used
with the JavaScript programming language when executing a type of webpage the code is included
dicha función al archivoJS.
Response: since JavaScript is an interpreted programming language, most of them cannot be detected.
errors in the code until the scripts are executed in the browsers when an error occurs the
browsers provide useful information to pinpoint the exact location of the error for resolution
The process of debugging a script is called debugging the script, which means eliminating errors from an application.
Rspta: means JavaScript Object Notation which means JavaScript object notation is a format
light in data exchanges. It is a subset of the programming language is a format that is
totally independent of the language.
"ParseInt()": It is the one that finds a character that is not a numeral of the specified database.
Prompt()”: Displays a modal window with a text message for an input field for the
visitor and the ACCEPT/CANCEL buttons.
"Alert()": It is a reserved word that displays a message and pauses the execution of the script until
that the user presses ok.
==: Equivalence.
a++: It is the term given to the variable in the operator for incrementing or decrementing the value.
for the operator and allow them to increase or decrease this.
NATIONAL LEARNING SERVICE SENA
Curricular Development Procedure
LEARNING GUIDE
1. - Do a free exercise where you use var, switch, while, if, alert.
NATIONAL LEARNING SERVICE SENA
Curricular Development Procedure
LEARNING GUIDE
2. - Make an exercise where two variables are taken, summed through a function and then
through another function the result is displayed with an alert.
NATIONAL LEARNING SERVICE SENA
Curricular Development Procedure
LEARNING GUIDE
3.- Create a program in Javascript that captures the 4 data (a, b, c, d) using the prompt function.
and I carried out the following operations:
Z1=a+b
Z2=a-d
Z3=d/b
Z4=c*d
4. Capture data a and b with textbox and display the result of their sum in a Textbox
5. Create a program in JavaScript that allows comparing the values captured with a textbox named
ID and phone with the data stored in the variables a="Alexander", b="1014", c="2327405".
validate the data to see if they are equal or not, and show an alert with the response. (Take as
Reference exercise 72 chapter 2 of the example exercises.)
NATIONAL LEARNING SERVICE SENA
Curriculum Development Procedure
LEARNING GUIDE
6. Create a Web Calculator in Javascript that allows addition, multiplication, subtraction, and division.
NATIONAL LEARNING SERVICE SENA
Curricular Development Procedure
LEARNING GUIDE
NATIONAL LEARNING SERVICE SENA
Curricular Development Procedure
LEARNING GUIDE
7. Create a Website that allows capturing data such as name, ID number, phone, address, email
electronic and then validated to verify:
4. EVALUATION ACTIVITIES
Take as reference the evaluation techniques and instruments mentioned in the Curriculum Development guide.
- SELECTED, FROM
AGREEMENT WITH THE
NEEDS OF
SYSTEM OF
INFORMATION
5. GLOSARIO DE TERMINOS
Js: Files with the .js extension containing Javascript function files
"=="; It is a logical operator that compares values and returns false or true depending on the condition.
"a++"; Allows incrementing the variable by 1 each time the statement is executed.
6. BIBLIOGRAPHIC REFERENCES
JavaScript: The Definitive Guide (Fifth Edition), David Flanagan (ISBN-13: 9780596101992).
Complete JavaScript reference in more than 1,000 pages that explains in detail any
aspect of this programming language.
JQUERY
[Link]
Manual Javascript
[Link]
7. DOCUMENT CONTROL
Autor (es)
COMPREHENSIVE PROFESSIONAL TRAINING MANAGEMENT
CURRICULUM DEVELOPMENT PROCEDURE
LEARNING GUIDE
GFPI-F-019 V3