-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStrings.html
More file actions
86 lines (79 loc) · 1.85 KB
/
Strings.html
File metadata and controls
86 lines (79 loc) · 1.85 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html>
<html lang="en">
<head>
<style>
body {
background-color: green;
margin: 0;
}
h1 {
color: white;
font-size: 40px;
font-family: monospace;
font-weight: bold;
text-align: center;
}
p {
color: aliceblue;
line-height: 1.5;
font-size: 20px;
margin: 5%;
}
.container {
width: 100%;
}
/* texting the git commit */
.card {
width: 100%;
height: 100%;
border-radius: 25px;
background-color: whitesmoke;
}
.card2 {
background-color: whitesmoke;
width: 100%;
height: 100%;
border-radius: 25px;
}
</style>
<title>
Strings
</title>
</head>
<body>
<header>
<h1> Strings </h1>
</header>
<nav>
<div class="navbar">
<ul> </ul>
</div>
</nav>
<main>
<h1> What about the Strings ?</h1>
<p>
</p>
<div class="container">
<div class="card">
<img src="E:\Users\HP\OneDrive\Desktop\CSS Projects\assests\Images\IMG_20220716_165859.jpg"
style="width: 100px;height:100px">
</div>
<div class="card2">
<img src="E:\Users\HP\OneDrive\Desktop\CSS Projects\assests\Images\IMG_20220716_165751.jpg"
style="width: 100px;height:100px">
</div>
</div>
</main>
<footer>
<p id="name"> Devang Kamal
</p>
<string>
function myFunction() {
let text = document.getElementById("name").innerHTML;
document.getElementById ("name").innerHTML =
text. toUpperCase() ;
}
</string>
</footer>
</body>
</html>