Search Header Logo
Intro to JavaScript

Intro to JavaScript

Assessment

Presentation

•

Computers

•

8th Grade

•

Practice Problem

•

Medium

Created by

Menna Rouby

Used 5+ times

FREE Resource

13 Slides • 15 Questions

1

Intro to JavaScript

By Menna Rouby

2

media
media

Unit
Three

Introduction
to JavaScript

3

media

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

media

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

media
media

Web Technologies depend on three
main layers (HTML - CSS -
Javascript).

What’s Javascript JS Can do?

6

media
media

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

media

Javascript
Statements

are JavaScript commands and
instructions.
Examples of JS statements:

- Create function statement.

- Call function

- Branching If condition

statement.

8

media

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

media
media

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

media

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

media
media

Call Function
Statement

alert (“string”);

1. Example 2:

alert (“welcome ”);

12

media

Call Function
Statement

document.write(“ “ );;

statement is used for displaying text
within a webpage contents.

1. Example:

document.write(“Error 505”);

13

media

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……………

1

JavaScript

2

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.

1

Function

2

HTML

18

Multiple Choice

(............................. ) used for displaying a dialogue box with a message to the user.

1

alert( " ");

2

document.write(" ");

19

Multiple Choice

Used for displaying message inside the same page (written text). (...................................)

1

alert( " ");

2

document.write(" ");

20

Multiple Choice

Javascript statements are written between tags ……………………………

1

alert( " ");

2

<script> .. </script>

21

Multiple Choice

Each javascript statement should be ended with the sign ……………..

1

;

2

/

22

Multiple Choice

Write the java script statements between ………………….. and ……………………

1

Head and body

2

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.

1

Onclick

2

messsage

24

Multiple Choice

Form is used to record your data in the webpage.( )

1

True

2

False

25

Multiple Choice

Java script statements are not  written in separated file nor in html file.( )

1

True

2

False

26

Multiple Choice

The java script statement should be finished with (;). (  )

1

True

2

False

27

Multiple Choice

 There is no different between capital and small letters in java script statements.( ) 

1

True

2

False

28

Multiple Choice

The java script statements are written between tags <script> ..<script>.( )

1

True

2

False

pattern-tertiary
Intro to JavaScript

By Menna Rouby

Show answer

Auto Play

Slide 1 / 28

SLIDE