Transcript
![Page 1: MSTCCU'16 - Aspiration Webbers - Session 3 - intro. to JS](https://reader031.vdocuments.us/reader031/viewer/2022030218/588614a91a28abe63e8b5f5d/html5/thumbnails/1.jpg)
Aspiration Webbers
Workshop
Session # 3
Prepared & Presented By:
Moataz Hesham Gamal El-Din
MSTC’16
![Page 2: MSTCCU'16 - Aspiration Webbers - Session 3 - intro. to JS](https://reader031.vdocuments.us/reader031/viewer/2022030218/588614a91a28abe63e8b5f5d/html5/thumbnails/2.jpg)
Introduction to JavaScript
![Page 3: MSTCCU'16 - Aspiration Webbers - Session 3 - intro. to JS](https://reader031.vdocuments.us/reader031/viewer/2022030218/588614a91a28abe63e8b5f5d/html5/thumbnails/3.jpg)
Agenda• What is JS ?
• When to use JavaScript ?• Why JavaScript ?• Where to Write JavaScript ?
![Page 4: MSTCCU'16 - Aspiration Webbers - Session 3 - intro. to JS](https://reader031.vdocuments.us/reader031/viewer/2022030218/588614a91a28abe63e8b5f5d/html5/thumbnails/4.jpg)
What is ?
![Page 5: MSTCCU'16 - Aspiration Webbers - Session 3 - intro. to JS](https://reader031.vdocuments.us/reader031/viewer/2022030218/588614a91a28abe63e8b5f5d/html5/thumbnails/5.jpg)
When to use JavaScript?
![Page 6: MSTCCU'16 - Aspiration Webbers - Session 3 - intro. to JS](https://reader031.vdocuments.us/reader031/viewer/2022030218/588614a91a28abe63e8b5f5d/html5/thumbnails/6.jpg)
User Validation
![Page 7: MSTCCU'16 - Aspiration Webbers - Session 3 - intro. to JS](https://reader031.vdocuments.us/reader031/viewer/2022030218/588614a91a28abe63e8b5f5d/html5/thumbnails/7.jpg)
Calculations
![Page 8: MSTCCU'16 - Aspiration Webbers - Session 3 - intro. to JS](https://reader031.vdocuments.us/reader031/viewer/2022030218/588614a91a28abe63e8b5f5d/html5/thumbnails/8.jpg)
Why JavaScript ?
![Page 9: MSTCCU'16 - Aspiration Webbers - Session 3 - intro. to JS](https://reader031.vdocuments.us/reader031/viewer/2022030218/588614a91a28abe63e8b5f5d/html5/thumbnails/9.jpg)
Where to write JavaScript ?
![Page 10: MSTCCU'16 - Aspiration Webbers - Session 3 - intro. to JS](https://reader031.vdocuments.us/reader031/viewer/2022030218/588614a91a28abe63e8b5f5d/html5/thumbnails/10.jpg)
Where to …… ? • HTML file : - i.e. <script > window. alert(“Hello JS");
</script>
• External:- i.e. file.js<script type="text/JavaScript" src=“file.js"> </script>
![Page 11: MSTCCU'16 - Aspiration Webbers - Session 3 - intro. to JS](https://reader031.vdocuments.us/reader031/viewer/2022030218/588614a91a28abe63e8b5f5d/html5/thumbnails/11.jpg)
![Page 12: MSTCCU'16 - Aspiration Webbers - Session 3 - intro. to JS](https://reader031.vdocuments.us/reader031/viewer/2022030218/588614a91a28abe63e8b5f5d/html5/thumbnails/12.jpg)
Any Questions ?