Abdul Qudoos Official
Home
About us
Contact us
Store
Portfolio
Privacy policy
Terms of Use
Simple code for portfolio website
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>My Portfolio</title> <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap" rel="stylesheet"> <style> /* General Reset */ * { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; } body { font-family: 'Poppins', sans-serif; line-height: 1.6; background: var(--bg-color); color: var(--text-color); } :root { /* Soft Pastel Theme */ --bg-color: #fdfdfd; --primary-color: #6c63ff; --secondary-color: #ff6b81; --text-color: #333; --card-bg: #ffffff; --border-radius: 10px; --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } /* Switch to Glassmorphism Theme */ body.glass { --bg-color: #e0eafc; --primary-color: #7f7fd5; --secondary-color: #86a8e7; --text-color: #222; --card-bg: rgba(255, 255, 255, 0.4); --box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25); backdrop-filter: blur(10px); } /* Switch to Neon Dark Theme */ body.neon { --bg-color: #0d0d0d; --primary-color: #00f9ff; --secondary-color: #ff00d4; --text-color: #f1f1f1; --card-bg: #1a1a1a; --box-shadow: 0 0 10px var(--primary-color); } header { background: var(--primary-color); color: #fff; padding: 20px 0; position: sticky; top: 0; z-index: 1000; } nav { display: flex; justify-content: space-between; align-items: center; width: 90%; margin: auto; } nav h1 { font-size: 28px; } nav ul { list-style: none; display: flex; gap: 20px; } nav a { color: #fff; text-decoration: none; font-weight: 600; transition: color 0.3s; } nav a:hover { color: var(--secondary-color); } section { padding: 80px 20px; max-width: 1100px; margin: auto; text-align: center; } section h2 { font-size: 36px; color: var(--primary-color); margin-bottom: 20px; } section p { font-size: 18px; margin-bottom: 30px; } .about img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; border: 4px solid var(--primary-color); } .projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; } .project-card { background: var(--card-bg); padding: 20px; border-radius: var(--border-radius); box-shadow: var(--box-shadow); transition: transform 0.3s; } .project-card:hover { transform: translateY(-5px); } .skills { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 20px; margin-top: 30px; } .skill { background: var(--card-bg); padding: 20px; border-radius: var(--border-radius); box-shadow: var(--box-shadow); font-weight: bold; } form { display: flex; flex-direction: column; gap: 15px; margin-top: 30px; } input, textarea { padding: 12px; border: 1px solid #ccc; border-radius: 5px; } button { background: var(--primary-color); color: #fff; border: none; padding: 15px; font-size: 16px; cursor: pointer; border-radius: 5px; transition: background 0.3s; } button:hover { background: var(--secondary-color); } footer { text-align: center; padding: 20px; font-size: 14px; background: var(--primary-color); color: #fff; margin-top: 40px; } @media (max-width: 768px) { nav ul { flex-direction: column; background: var(--primary-color); position: absolute; top: 60px; right: 0; width: 100%; display: none; } nav.active ul { display: flex; } .menu-toggle { display: block; cursor: pointer; font-size: 24px; } } </style> </head> <body> <header> <nav> <h1>MyPortfolio</h1> <div class="menu-toggle" onclick="toggleMenu()">☰</div> <ul id="nav-links"> <li><a href="#about">About</a></li> <li><a href="#projects">Projects</a></li> <li><a href="#skills">Skills</a></li> <li><a href="#contact">Contact</a></li> </ul> </nav> </header> <section id="about" class="about"> <h2>About Me</h2> <img src="https://avatars.githubusercontent.com/u/107508106?v=4" alt="Profile Picture"> <p>Hello! I'm a creative web developer specializing in building beautiful, responsive websites and applications. I love bringing ideas to life online!</p> </section> <section id="projects"> <h2>Projects</h2> <div class="projects"> <div class="project-card"> <h3>Project One</h3> <p>A short description about this project.</p> </div> <div class="project-card"> <h3>Project Two</h3> <p>A short description about this project.</p> </div> <div class="project-card"> <h3>Project Three</h3> <p>A short description about this project.</p> </div> </div> </section> <section id="skills"> <h2>Skills</h2> <div class="skills"> <div class="skill">HTML</div> <div class="skill">CSS</div> <div class="skill">JavaScript</div> <div class="skill">React</div> <div class="skill">Node.js</div> <div class="skill">Python</div> </div> </section> <section id="contact"> <h2>Contact Me</h2> <form> <input type="text" placeholder="Your Name" required> <input type="email" placeholder="Your Email" required> <textarea rows="5" placeholder="Your Message" required></textarea> <button type="submit">Send Message</button> </form> </section> <footer> <p>© 2025 My Portfolio. All rights reserved.</p> </footer> <script> function toggleMenu() { document.querySelector('nav').classList.toggle('active'); } </script> </body> </html>
Copy Code
Newer Post
Older Post
Home
!doctype>
Try Now