JAYASWAROOP commited on
Commit
4f23d85
·
verified ·
1 Parent(s): f474453

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +85 -50
index.html CHANGED
@@ -8,15 +8,98 @@
8
  <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
9
  <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
10
  <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
11
- <script src="background.js"></script>
12
 
13
  <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" rel="stylesheet">
14
- <link rel="stylesheet" href="style.css">
15
  <style>
16
  .project{
17
  border-top-left-radius: 8px;
18
  border-top-right-radius: 8px;
19
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  </style>
21
  </head>
22
  <body>
@@ -261,14 +344,6 @@
261
  </div>
262
  </div>
263
  </div>
264
- <div class="col" data-aos="zoom-in">
265
- <div class="card mb-4">
266
- <div class="card-body">
267
- <h5 class="card-title">SQL</h5>
268
- <p class="card-text">SQL is used for managing and querying relational databases💡📊</p>
269
- </div>
270
- </div>
271
- </div>
272
  </div>
273
  </div>
274
  </section>
@@ -353,9 +428,7 @@
353
  <label for="message">Message</label>
354
  <textarea class="form-control" id="message" rows="5" placeholder="Your message"></textarea>
355
  </div>
356
-
357
  <button type="submit" class="btn btn-primary mt-3">Submit</button>
358
-
359
  </form>
360
  </div>
361
  </section>
@@ -377,44 +450,6 @@
377
  easing: 'ease', // Easing option
378
  once: true // Only animate elements once
379
  });
380
-
381
- const form = document.querySelector('form');
382
-
383
- form.addEventListener('submit', (event) => {
384
- event.preventDefault(); // Prevent default form submission
385
-
386
- const name = document.getElementById('name').value;
387
- const email = document.getElementById('email').value;
388
- const message = document.getElementById('message').value;
389
-
390
- // Construct email content
391
- const body = `
392
- Name: ${name}\n
393
- Email: ${email}\n
394
- Message:\n
395
- ${message}
396
- `;
397
-
398
- // Optional: Add validation for name, email, and message
399
-
400
- // Send email using a dedicated library or service
401
- // Example using a hypothetical library:
402
- sendEmail({
403
- to: 'your-email@gmail.com',
404
- subject: 'New Contact Form Submission',
405
- body: body,
406
- })
407
- .then(() => {
408
- // Clear form fields and display a success message
409
- form.reset();
410
- alert('Message sent successfully!');
411
- })
412
- .catch((error) => {
413
- console.error('Error sending email:', error);
414
- alert('An error occurred while sending the message. Please try again.');
415
- });
416
- });
417
-
418
  </script>
419
  </body>
420
  </html>
 
8
  <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
9
  <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
10
  <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
11
+
12
 
13
  <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" rel="stylesheet">
 
14
  <style>
15
  .project{
16
  border-top-left-radius: 8px;
17
  border-top-right-radius: 8px;
18
  }
19
+ body {
20
+ font-family: 'Arial', sans-serif;
21
+ line-height: 1.6;
22
+ }
23
+ .bg-image {
24
+ background-image: url('https://idearocketanimation.com/app/uploads/2019/01/laptop-in-darkness.jpg');
25
+ height: 85vh;
26
+ background-position: center;
27
+ background-repeat: no-repeat;
28
+ background-size: cover;
29
+ display: flex;
30
+ align-items: center;
31
+ justify-content: center;
32
+ text-align: center;
33
+ }
34
+ .hero-text {
35
+ color: #ffffff;
36
+ }
37
+ .btn-outline-light {
38
+ border-color: #ffffff;
39
+ color: #ffffff;
40
+ }
41
+ .btn-outline-light:hover {
42
+ background-color: #ffffff;
43
+ color: #3498db;
44
+ }
45
+ .card {
46
+ border-radius: 10px;
47
+ transition: transform 0.3s ease-in-out;
48
+ }
49
+ .card:hover {
50
+ transform: translateY(-5px);
51
+ }
52
+ .footer {
53
+ background-color: #2c3e50;
54
+ color: #ffffff;
55
+ text-align: center;
56
+ }
57
+ .profile-pic {
58
+ max-width: 300px;
59
+ max-height: 300px;
60
+ border-radius: 50%;
61
+ margin-left: 85px;
62
+ }
63
+ .profile-pic1 {
64
+ max-width: 220px;
65
+ max-height: 220px;
66
+ border-radius: 50%;
67
+ }
68
+
69
+ .description {
70
+ font-size: 1.2rem;
71
+ }
72
+ .img1{
73
+ height: 55px;
74
+ width: 55px;
75
+ border-radius: 50px;
76
+ }
77
+ .social-icons {
78
+ display: flex;
79
+ justify-content: center;
80
+ align-items: center;
81
+ gap: 20px;
82
+ margin-top: 20px;
83
+ }
84
+
85
+ .social-icon {
86
+ color: #fff;
87
+ font-size: 28px;
88
+ border-radius: 50%;
89
+ width: 55px;
90
+ height: 55px;
91
+ display: flex;
92
+ align-items: center;
93
+ justify-content: center;
94
+ transition: all 0.3s ease;
95
+ }
96
+
97
+ .social-icon:hover {
98
+ transform: translateY(-3px);
99
+ box-shadow: 0px 4px 10px rgba(226, 251, 85, 0.3);
100
+ color: #81e7fc;
101
+ text-decoration: none;
102
+ }
103
  </style>
104
  </head>
105
  <body>
 
344
  </div>
345
  </div>
346
  </div>
 
 
 
 
 
 
 
 
347
  </div>
348
  </div>
349
  </section>
 
428
  <label for="message">Message</label>
429
  <textarea class="form-control" id="message" rows="5" placeholder="Your message"></textarea>
430
  </div>
 
431
  <button type="submit" class="btn btn-primary mt-3">Submit</button>
 
432
  </form>
433
  </div>
434
  </section>
 
450
  easing: 'ease', // Easing option
451
  once: true // Only animate elements once
452
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
453
  </script>
454
  </body>
455
  </html>