-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
212 lines (209 loc) · 7.74 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
<!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"/>
<title>Vignesh Entrepreneur</title>
<link rel="stylesheet" href="style.css" />
<script src="https://kit.fontawesome.com/f4e57ffe7b.js" crossorigin="anonymous"></script>
</head>
<body>
<header>
<div id="header">
<div class="container">
<nav>
<img src="img/logo.png" class="logo" />
<ul id="menu">
<li><a href="#header">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#services">Services</a></li>
<li><a href="#porfolio">Portfolio</a></li>
<li><a href="#contact">Contact</a></li>
<i class="fas fa-times" onclick="closemenu()"></i>
</ul>
<i class="fa-solid fa-bars" onclick="openmenu()"></i>
</nav>
<div class="header-text">
<p>Digital Marketer</p>
<h1>Hello, I'm <span>Vignesh</span><br> From India</h1>
</div>
</div>
</header>
<!----------------About-->
<div id="about">
<div class="container">
<div class="row">
<div class="about-col-1">
<img src="img/v.jpeg"/>
</div>
<div class="about-col-2">
<h1 class="sub">About Me</h1>
<p>I'm experienced in problem solving, social media management
and I have knowledge in software development, web
applications, data structure algorithm and some programming
languages. Special interest in web development and social
media management</p>
<div class="tab-title">
<p class="tab-links active-link" onclick=" opentab('skills')">Skills</p>
<p class="tab-links" onclick=" opentab('experince')">Experince</p>
<p class="tab-links" onclick=" opentab('education')">Education</p>
</div>
<div class="tab-contents active-tab" id="skills">
<ul>
<li><span>HI</span><br>Welcome</li>
<li><span>fun</span><br>css</li>
<li><span>happy</span><br>sad</li>
</ul>
</div>
<div class="tab-contents" id="experince">
<ul>
<li><span>Hello</span><br>Welcome</li>
<li><span>Jolly</span><br>World</li>
<li><span>Best</span><br>Place</li>
</ul>
</div>
<div class="tab-contents" id="education">
<ul>
<li><span>HI</span><br>Welcome</li>
<li><span>fun</span><br>css</li>
<li><span>happy</span><br>sad</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<!--Services-->
<div id="services">
<div class="container">
<h1 class="sub">My services</h1>
<div class="service-list">
<div>
<i class="fa-solid fa-blog"></i>
<h2>Web Design</h2>
<p>Best web designs</p>
<a href="#">Learn more</a>
</div>
<div>
<i class="fa-sharp fa-solid fa-hashtag"></i>
<h2>Social Media Services</h2>
<p>Instagram,<br>Youtube</p>
<a href="#">Learn more</a>
</div>
<div>
<i class="fa-sharp fa-solid fa-earth-americas"></i>
<h2>Travel packages</h2>
<p>World wide serviecs</p>
<a href="#">Learn more</a>
</div>
</div>
</div>
</div>
<!--porfolio-->
<div id="porfolio">
<div class="container">
<h1 class="sub">My Work</h1>
<div class="worklist">
<div class="work">
<img src="img/v.jpeg">
<div class="layer">
<h3>Followers</h3>
<p>Incresing Followers within 10 Minutes</p>
<a href=""><i class="fa-solid fa-square-arrow-up-right"></i></a>
</div>
</div>
<div class="work">
<img src="img/v.jpeg">
<div class="layer">
<h3>Followers</h3>
<p>Incresing Followers within 10 Minutes</p>
<a href=""><i class="fa-solid fa-square-arrow-up-right"></i></a>
</div>
</div>
<div class="work">
<img src="img/v.jpeg">
<div class="layer">
<h3>Followers</h3>
<p>Incresing Followers within 10 Minutes</p>
<a href=""><i class="fa-solid fa-square-arrow-up-right"></i></a>
</div>
</div>
</div>
<a href="#" class="btn">See More</a>
</div>
</div>
<!--contact-->
<div id="contact">
<div class="row">
<div class="contact-left">
<h1 class="sub">Contact Me</h1>
<p><i class="fa-solid fa-envelope"></i> [email protected]</p>
<p><i class="fa-solid fa-phone-volume"></i> +91 9751205230</p>
<div class="social-icons">
<a href=""><i class="fa-brands fa-square-instagram"></i></a>
<a href=""><i class="fa-brands fa-facebook"></i></a>
<a href=""><i class="fa-brands fa-linkedin"></i></a>
<a href=""><i class="fa-brands fa-twitter-square"></i></a>
</div>
<a href="cv/1.pdf" download 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 Mail" 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>
</body>
<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("menu");
function openmenu()
{
sidemenu.style.right=0;
}
function closemenu()
{
sidemenu.style.right="-200px";
}
</script>
<script>
const scriptURL = 'https://script.google.com/macros/s/AKfycbzYuScA7qpFdQYTAgt7cQC5ECITQgbyKLMBZeZUjCkvg7-4ANI2FGoiurFb2taaHMA/exec'
const form = document.forms['submit-to-google-sheet']
var 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=""
},3000)
form.reset()
})
.catch(error => console.error('Error!', error.message))
})
</script>
</body>
</html>