Course Content
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 - Accessing Data From a Variable
Task
Swipe to start coding
Your task is to:
- Create a variable
firstName
with value"Alice"
; - Create a variable
lastName
with value"Johnson"
; - Create a variable
age
with value25
; - Write a
console.log
statement outputting:
python
Use the values of variables inside the console.log
statement to generate this output.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 3
Task - Accessing Data From a Variable
Task
Swipe to start coding
Your task is to:
- Create a variable
firstName
with value"Alice"
; - Create a variable
lastName
with value"Johnson"
; - Create a variable
age
with value25
; - Write a
console.log
statement outputting:
python
Use the values of variables inside the console.log
statement to generate this output.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 3