Contenido del Curso
Introduction to JavaScript
Introduction to JavaScript
1. Getting Started
Hello WorldTask - Show some OutputTask - Output Multiple LinesNumbersTask - Working with NumbersTask - Calculate the Speed of a CarTask - Calculate Area of a TrapeziumOutputting Multiple ValuesTask - Meaningful OutputCommentsTask - Adding a commentMulti-Line CommentsTask - Commenting out CodeTask - Coffee Shop SalesWhat is JavaScript anyway?
2. Manipulating Data
Storing DataTask - Declaring a VariableTask - Accessing Data From a VariableTask - Fixing Variable NamesTask - Reassigning a VariableConstantsTask - Declaring & Using ConstantsPerforming Arithmetic On VariablesTask - Making a Salary CalculatorTask - Adjusting Salary with a BonusTypes of DataTask - Declare a Boolean ValueHow different Data Types InteractTask - Concatenating StringsTask - User Profile & Activity Details
3. Conditional Statements
Task - Declaring a Variable
Tarea
Swipe to start coding
In the given code, there's a console.log
line trying to output a variable called users
.
Your task is:
- Declare a variable called
users
; - Assign it a value of
157
;
The code should output: Number of Users: 157
.
Make sure you declare it at the correct place so that the code compiles successfully.
Note
You can use any valid syntax to declare and initialize the variable.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 2. Capítulo 2
Task - Declaring a Variable
Tarea
Swipe to start coding
In the given code, there's a console.log
line trying to output a variable called users
.
Your task is:
- Declare a variable called
users
; - Assign it a value of
157
;
The code should output: Number of Users: 157
.
Make sure you declare it at the correct place so that the code compiles successfully.
Note
You can use any valid syntax to declare and initialize the variable.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 2. Capítulo 2