-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdatatypes.js
More file actions
62 lines (48 loc) · 2.22 KB
/
datatypes.js
File metadata and controls
62 lines (48 loc) · 2.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// comment can make code readable
// welcome to 30days javascript
let variable = "stella";
// <!-- <!DOCTYPE html>
// <html lang="en">
// <head>
// <meta charset="UTF-8">
// <meta http-equiv="X-UA-Compatible" content="IE=edge">
// <meta name="viewport" content="width=device-width, initial-scale=1.0">
// <link rel="stylesheet" href="./css/style.css">
// <script src="js/jquery-3.6.0.js"></script>
// <script src="./js/script.js"></script>
// <title>Document</title>
// </head>
// <body>
// <h1 id="hello" class="light">Hello oo Center Of all Languages</h1>
// <select>
// <option value="black">Black</option>
// <option value="red">Red</option>
// <option value="blue">Blue</option>
// <option value="green">Green</option>
// </select> -->
// <!-- <br> <br> -->
// <!-- <button id="btn">Mode</button> -->
// <!--
// <button id="light">Light</button>
// <button id="dark">Dark</button>
// <h1>LETTER TO MR JAVASCRIPT</h1>
// <button type="button"
// onclick="document.getElementById('output').innerHTML='Mr Javascript, pls Show me the way to Know you😒,Please give me a chance to do the right thing. but You know that we had a deal😂👍😜 I have alot of people to impact😒 '">Click
// to read</button>
// <p id="output"></p>
// <h2>What Can JavaScript Do?</h2>
// <p>JavaScript can change HTML attribute values.</p>
// <p>In this case JavaScript changes the value of the src (source) attribute of an image.</p>
// <h6 id="my6">My Lovely javascript</h6>
// <button type="button" onclick="document.getElementById('my6').style.fontSize ='190px' ">click</button>
// <button type="button" onclick="document.getElementById('image').src='img/pic_bulbon.gif'">click to on the
// light</button>
// <img id="image" src="./img/pic_bulboff.gif" alt="">
// <button type="button" onclick="document.getElementById('image').src= 'img/pic_bulboff.gif'">click to off the
// light</button>
// <p id="name">myname is stella</p>
// <button type="button" onclick="myName()">change</button>
// -->
// <!--
// </body>
// </html> -->