-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
222 lines (206 loc) · 8.44 KB
/
index.html
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Responsive Personal Portfolio </title>
<link rel="stylesheet" href="style.css">
<script src="https://kit.fontawesome.com/95e58cbd01.js" crossorigin="anonymous"></script>
</head>
<body>
<div id="header">
<div class="container">
<nav>
<img src="images/logo.png" alt="">
<ul id="sidemenu">
<li><a href="#home">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#services">Services</a></li>
<li><a href="#portfolio">Portfolio</a></li>
<li><a href="#contact">Contact</a></li>
<i class="fa-solid fa-xmark" onclick="closemenu()"></i>
</ul>
<i class="fa-solid fa-bars" onclick="openmenu()"></i>
</nav>
<div class="header-text">
<p>UI/UX Design</p>
<h1>Hi, I am <span>Karan</span><br> from INDIA</h1>
</div>
</div>
</div>
<!---------------------------------about----------------------------->
<div id="about">
<div class="container">
<div class="row">
<div class="about-col-1">
<img src="images/user.png">
</div>
<div class="about-col-2">
<h1 class="sub-title">About Me</h1>
<p>Hello everybody.<br> shshdasncznclshdfoalafhoai,cofhacnz,fhifoawehfjkhfoaifglafafleafaf,zczv
zbz,zzvzfvnbzkvffvefvhfzueif
bcfzf,kuhufhafjfhnfza
jhfvb,fb,zshfkhufa
fcsjlf,bz
</p>
<div class="tab-titles">
<p class="tab-links active-link" onclick="opentab('skills')">Skills</p>
<p class="tab-links" onclick="opentab('experience')">Experience</p>
<p class="tab-links" onclick="opentab('education')">Education</p>
</div>
<div class="tab-contents active-tab" id="skills">
<ul>
<li><span>UI/UX</span><br>Designing Web/App interface</li>
<li><span>Web Development</span><br>Web App development</li>
<li><span>App development</span><br>Building Android/ios App</li>
</ul>
</div>
<div class="tab-contents" id="experience">
<ul>
<li><span>UIUX</span><br>Designing Web/App interface</li>
<li><span>Web Development</span><br>Web App development</li>
<li><span>App development</span><br>Building Android/ios App</li>
</ul>
</div>
<div class="tab-contents" id="education">
<ul>
<li><span>Matric</span><br>Designing Web/App interface</li>
<li><span>Web Development</span><br>Web App development</li>
<li><span>App development</span><br>Building Android/ios App</li>
</ul>
</div>
</div>
</div>
</div>
<!----------------------------------services--------------------------------------------->
<div id="services"></div>
<div class="container">
<h1 class="sub-title">My services</h1>
<div class="service-list">
<div>
<i class="fa-solid fa-code"></i>
<h2> Web Design</h2>
<p> iofewroijafjjfrjf</p>
<a href="#">learn more</a>
</div>
<div>
<i class="fa-solid fa-crop"></i>
<h2> UI/UX Design</h2>
<p> iofewroijafjjfrjf</p>
<a href="#">learn more</a>
</div>
<div>
<i class="fa-brands fa-app-store-ios"></i>
<h2> App Design</h2>
<p> iofewroijafjjfrjf</p>
<a href="#">learn more</a>
</div>
</div>
</div>
<!-- -----------------------------------portfolio------------------------------ -->
<div id="portfolio">
<div class="container">
<h1 class="sub-title">My work</h1>
<div class="work-list">
<div class="work">
<img src="images/work-1.png">
<div class="layer">
<h3>Social Media App</h3>
<p>hufhweuiofhwqefhq</p>
<a href="#"><i class="fa-solid fa-arrow-up-right-from-square"></i> </a>
</div>
</div>
<div class="work">
<img src="images/work-2.png">
<div class="layer">
<h3>Music Media App</h3>
<p>hufhweuiofhwqefhq</p>
<a href="#"><i class="fa-solid fa-arrow-up-right-from-square"></i> </a>
</div>
</div>
<div class="work">
<img src="images/work-3.png">
<div class="layer">
<h3>Online Shopping App</h3>
<p>hufhweuiofhwqefhq</p>
<a href="#"><i class="fa-solid fa-arrow-up-right-from-square"></i> </a>
</div>
</div>
</div>
</div>
<a href="#" class="btn">See more</a>
</div>
</div>
<!-- -------------------------------contact--------------------------------- -->
<div id="contact">
<div class="container">
<div class="row">
<div class="contact-left">
<h1 class="sub-title" > contact me</h1>
<p><i class="fa-solid fa-paper-plane"></i>contact karan.com</p>
<p><i class="fa-solid fa-phone"></i>0123456789</p>
<div class="social-icons">
<a href=""><i class="fa-brands fa-facebook"></i></a>
<a href=""><i class="fa-brands fa-square-instagram"></i></a>
<a href=""><i class="fa-brands fa-youtube"></i></a>
<a href=""><i class="fa-brands fa-square-x-twitter"></i></a>
</div>
<a href="images/my-cv.pdf" class="btn btn2">Download CV</a>
</div>
<div class="contact-right">
<form name= "submit-to-google-sheet" >
<input type="text" name="Name" placeholder="Your Name" required>
<input type="email" name="Email" placeholder="Your Email" required>
<textarea name="Message" rows="6" placeholder="Your Message"></textarea>
<button type="submit" class=" btn btn2">Submit</button>
</form>
<span id="msg"></span>
</div>
</div>
<div class="copyright">
<p> Copyright @karan. Made with <i class="fa-solid fa-heart"></i> for you.</p>
</div>
</div>
</div>
<script>
var tablinks = document.getElementsByClassName("tab-links");
var tabcontents = document.getElementsByClassName("tab-contents");
function opentab(tabname){
for(tablink of tablinks){
tablink.classList.remove("active-link");
}
for(tabcontent of tabcontents){
tabcontent.classList.remove("active-tab");
}
event.currentTarget.classList.add("active-link");
document.getElementById(tabname).classList.add("active-tab");
}
</script>
<script>
var sidemenu = document.getElementById("sidemenu");
function openmenu(){
sidemenu.style.right= "0"
}
function closemenu(){
sidemenu.style.right= "-200px"
}
</script>
<script>
const scriptURL = 'https://script.google.com/macros/s/AKfycbx-GKC0vNIr1ijLZyfbSl2e-M4YzD7FIgf0RLWIV8sRAD0GESeIiEK8Yz6L6rOVXveBJw/exec'
const form = document.forms['submit-to-google-sheet']
const msg = document.getElementById("msg")
form.addEventListener('submit', e => {
e.preventDefault()
fetch(scriptURL, { method: 'POST', body: new FormData(form)})
.then(response =>{
msg.innerHTML = "Message sent successfully"
setTimeout(function(){
msg.innerHTML = ""
},5000 )
form.reset()
} )
.catch(error => console.error('Error!', error.message))
})
</script>
</body>
</html>