My Portfolio's Code

Sachin Khanal. Coding King. Founder Of AooA Mobile Company

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <style>
    body {
      font-family: 'Arial', sans-serif;
      margin: 0;
      padding: 0;
      background-color: #f5f5f5;
    }

    .container {
      max-width: 600px;
      margin: 50px auto;
      background-color: #fff;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      border-radius: 10px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 20px;
      box-sizing: border-box;
    }

    .img img {
      width: 100%;
      border-radius: 50%;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .datas {
      text-align: center;
      margin: 20px 0;
    }

    .datas h1 {
      margin: 5px 0;
      color: #333;
    }

    .datas h3 {
      margin: 5px 0;
      color: #666;
    }

    .Desc {
      text-align: center;
      margin-bottom: 20px;
    }

    .Desc strong {
      color: #555;
    }

    .links {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .links a {
      display: inline-block;
      margin: 5px 0;
      padding: 10px 20px;
      text-decoration: none;
      color: #fff;
      background-color: #3498db;
      border-radius: 5px;
      transition: background-color 0.3s;
    }

    .links a:hover {
      background-color: #2980b9;
    }
    
       .container {
      transition: transform 0.3s ease-in-out;
      cursor: pointer;
    }

    .container:hover {
      transform: scale(1.05);
    }

    .container.active {
      animation: pulse 1s infinite alternate;
    }

    @keyframes pulse {
      0% {
        transform: scale(1);
      }
      100% {
        transform: scale(1.1);
      }
    }
  </style>
</head>
<body>

  <div class="container"  id="profileContainer">
    <div class="img">
      <img src="https://yt3.googleusercontent.com/ytc/AIf8zZQ4_X7nU5I1qppVJMgwu_nnj727ewkbhjnks2vosgwwGYtsqdn2HrgndgHWUSVx=s176-c-k-c0x00ffffff-no-rj" alt="Profile Image">
    </div>
    <div class="datas">
      <h1 title="Hi, its Me Sachin Khanal">Sachin Khanal</h1>
      <h3 title="I Am Student | Coder | Blogger | Freelancer | Youtuber"><b>Student | Coder | Blogger | Freelancer | Youtuber</b></h3>
      <h5>Founder And CEO Of AooA And PCVMYS36</h5>
    </div>
    <div class="Desc">
      <strong>Hey, It's Me Sachin Khanal. A Boy Studied In Samata Shiksha Niketan School on 7th standard. Want To Be A Software Engineer.</strong>
    </div>
    <div class="links">
      <a href="https://sachinkhanal1.blogspot.com">Follow Me On Blogger</a>
      <a href="https://www.youtube.com/channel/UCNnQoAd-R2DPNiuUeKkpIGQ">Follow Me On Youtube</a>
      <a href="https://sachinkhanal.tiiny.site">Check My Portfolio</a>
    </div>
  </div>


<script>
    document.addEventListener('DOMContentLoaded', function () {
      var container = document.getElementById('profileContainer');

      container.addEventListener('click', function () {
        container.classList.toggle('active');
      });
    });
  </script>
</body>
</html>


Comments