ThePresentation
ru
Регистрация
|
Вход
Загрузить
Главная
Разное
Дизайн
Бизнес и предпринимательство
Аналитика
Образование
Развлечения
Красота и здоровье
Финансы
Государство
Путешествия
Спорт
Недвижимость
Армия
Графика
Культурология
Еда и кулинария
Лингвистика
Английский язык
Астрономия
Алгебра
Биология
География
Детские презентации
Информатика
История
Литература
Маркетинг
Математика
Медицина
Менеджмент
Музыка
МХК
Немецкий язык
ОБЖ
Обществознание
Окружающий мир
Педагогика
Русский язык
Технология
Физика
Философия
Химия
Шаблоны, картинки для презентаций
Экология
Экономика
Юриспруденция
A simple Script презентация
Содержание
1.
A simple Script
2.
A simple Script First JavaScript
3.
Embedding JavaScript Use the src attribute to
4.
Popup Boxes Alert box Confirm box Prompts box
5.
alert(), confirm(), and prompt() alert("This is
6.
The typeof operator typeof operator used to find the type of a JavaScript variable.
7.
Example
8.
Undefined data type In JavaScript, a variable
9.
Null In JavaScript null is "nothing". It
10.
Primitive Data
11.
Complex Data
12.
Line Breaks To display line breaks inside
13.
JavaScript Objects Objects in real life is
14.
JavaScript Objects You have already learned that JavaScript variables are containers for data values.
15.
Objects Objects are variables too. Objects can contain many values
16.
Example This code assigns many values (Fiat,
17.
Object Properties The name: values pairs are called properties. Property Property value
18.
Object Methods Methods are actions that can
19.
Example
20.
Accessing Object Properties 2 ways Or
21.
Accessing Object methods ObjectName.methodName()
22.
Example
23.
Do Not Declare Strings, Numbers, and Booleans
24.
Conditional Statements Very often when you write
25.
Types of conditional statements if statement
26.
If statement Syntax and example If
27.
If .. Else statement
28.
If…else if… statement syntax
29.
If…else if… statement example
30.
Switch Statement You should use the Switch
31.
Switch statement’s syntax
33.
The break Keyword When JavaScript reaches a break keyword,
34.
The default Keyword The default keyword specifies the code to run if there is no case match:
35.
JavaScript Math Objects allows you to perform
36.
Math Properties (Constants) Math.E // returns Euler's number
37.
JavaScript Random Integers Math.random() used with Math.floor()
38.
Home work: read Chapter 15
A simple Script First JavaScript Page First JavaScript Page document.write(""); document.write("Hello World Wide Web"); document.write("");
Главная
Информатика
A simple Script
Слайд 1
Lecture 7
JavaScript
Senior- Lecturer: Sarsenova Zh.N.
Слайд 2
A simple Script
First JavaScript Page
First JavaScript Page
document.write("");
document.write("Hello World Wide Web");
document.write("
");