Download presentation
Presentation is loading. Please wait.
1
Javascript
2
JavaScript Introduction
JavaScript Can Change HTML Content JavaScript Can Change HTML Attributes JavaScript Can Change HTML Styles (CSS) JavaScript Can Hide HTML Elements JavaScript Can Show HTML Elements
3
JavaScript Where To JavaScript in <head>
JavaScript in <body> External JavaScript
4
Head
5
body
6
External myScript.js function myFunction() { document.getElementById("demo").innerHTML = "Paragraph changed.";}
7
JavaScript Display Possibilities
Writing into an alert box, using window.alert(). Writing into the HTML output using document.write(). Writing into an HTML element, using innerHTML. Writing into the browser console, using console.log().
8
Example
9
Array
10
Object
11
Function
12
Math
13
Condition - IF
14
Condition - Switch
15
Loop - For
16
Loop - While
17
Loop – do While
18
Form
19
Form
20
Form
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.