
Intro to JavaScript
Presentation
•
Computers
•
8th Grade
•
Practice Problem
•
Medium
Menna Rouby
Used 5+ times
FREE Resource
13 Slides • 15 Questions
1
By Menna Rouby
2
Unit
Three
Introduction
to JavaScript
3
Objectives
● Recognize Javascript statements
● Recognize the basic rule of HTML .
● Differentiate the three ways to
write Script with HTML
1. In the same HTML file.
- In Head section
- In Body Section
● Call Function statement.
4
Develop Interactive
Webpage
To develop your Form data registration
page project so that it becomes
Interactive page, we will need to add
some
JavaScript language statements.
5
Web Technologies depend on three
main layers (HTML - CSS -
Javascript).
What’s Javascript JS Can do?
6
What’s Javascript JS Can do?
JavaScript is
1. Scripting or programming language
2. Allows you to implement complex features on web
pages — every time a web page does more than just
display static information.
3. Displaying
1. timely content updates,
2. interactive maps,
3.animated 2D/3D graphics,
4.scrolling video jukeboxes, etc.
5. download and upload files.
6.ask questions to the visitor, show messages.
7
Javascript
Statements
are JavaScript commands and
instructions.
Examples of JS statements:
- Create function statement.
- Call function
- Branching If condition
statement.
8
Basic
fundamental of JS
- each statement must end with a
semicolon ;
- JS is a case sensitive:
the letter case must be
considered while writing JS
statements.
9
1. Create script
inside HTML
File
1. Js statements are written inside
<script> </script> element
2. <script> element can be placed in
the <head> or <body> section of
an HTML document.
10
Call Function
Statement
alert (argument);
1. used for displaying a message via a
dialogue box.
2. Example:
alert (“you submit the application
successfully ”);
Notice that, the message must be
written within double high quotations.
11
Call Function
Statement
alert (“string”);
1. Example 2:
alert (“welcome ”);
12
Call Function
Statement
document.write(“ “ );;
statement is used for displaying text
within a webpage contents.
1. Example:
document.write(“Error 505”);
13
Wish The Best.
Good Luck.
14
Open Ended
the right statement to Call alert function
15
Multiple Choice
A programming language is case sensitive and used to create interactive web pages……………
JavaScript
HTML
16
Open Ended
the right statement to Call document.write function
17
Multiple Choice
(...................) is JavaScript statements grouped together in a named block and performed according to the call it.
Function
HTML
18
Multiple Choice
(............................. ) used for displaying a dialogue box with a message to the user.
alert( " ");
document.write(" ");
19
Multiple Choice
Used for displaying message inside the same page (written text). (...................................)
alert( " ");
document.write(" ");
20
Multiple Choice
Javascript statements are written between tags ……………………………
alert( " ");
<script> .. </script>
21
Multiple Choice
Each javascript statement should be ended with the sign ……………..
;
/
22
Multiple Choice
Write the java script statements between ………………….. and ……………………
Head and body
messages
23
Multiple Choice
If you want JavaScript statements to be implemented when an event occurs (such as button click), you should use a …………………………..……………….... to execute a certain task or function.
Onclick
messsage
24
Multiple Choice
Form is used to record your data in the webpage.( )
True
False
25
Multiple Choice
Java script statements are not written in separated file nor in html file.( )
True
False
26
Multiple Choice
The java script statement should be finished with (;). ( )
True
False
27
Multiple Choice
There is no different between capital and small letters in java script statements.( )
True
False
28
Multiple Choice
The java script statements are written between tags <script> ..<script>.( )
True
False
By Menna Rouby
Show answer
Auto Play
Slide 1 / 28
SLIDE
Similar Resources on Wayground
21 questions
For Loop List
Presentation
•
8th Grade
23 questions
Fact vs. Opinion
Presentation
•
8th Grade
20 questions
Emanuel sandoval tilano
Presentation
•
8th Grade
20 questions
Rhetoric
Presentation
•
8th - 9th Grade
24 questions
Review for Chapter 4/5 Test
Presentation
•
8th Grade
19 questions
HTML L4 CSS
Presentation
•
8th Grade
24 questions
Grade 8 HTML
Presentation
•
8th Grade
20 questions
Hard and Soft Skills
Presentation
•
8th Grade
Popular Resources on Wayground
10 questions
How much do you know about our Portrait of an Eagle?
Quiz
•
10th Grade
10 questions
Fast Food Slogans
Quiz
•
6th - 8th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade