My Portfolio

by Venkatesh Dematti

HTML

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Venkatesh Dematti Portfolio</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <!-- Header Section -->
    <header>
        <nav>
            <ul>
                <li><a href="#home">Home</a></li>
                <li><a href="#about">About</a></li>
                <li><a href="#projects">Projects</a></li>
                <li><a href="#contact">Contact</a></li>
            </ul>
        </nav>
    </header>

    <!-- Home Section -->
    <section id="home" class="hero">
        <div class="hero-content">
            <h1>Welcome to My Portfolio</h1>
            <p>I am a Frontend Developer with a passion for creating beautiful and functional websites.</p>
            <a href="#contact" class="cta-button">Get in Touch</a>
        </div>
    </section>

    <!-- About Section -->
    <section id="about" class="section">
        <h2>About Me</h2>
        <p>Hello! I'm Venkatesh Dematti, a passionate web developer with over 7 years of experience in building interactive websites. I specialize in HTML, CSS, JavaScript, and modern frameworks like React and Vue. I love solving complex problems and constantly improving my skills.</p>
    </section>

    <!-- Projects Section -->
    <section id="projects" class="section">
        <h2>My Projects ( WIP )</h2>
        <div class="projects-container">
            <!-- Project 1 -->
            <div class="project-card">
                <img src="project1.jpg" alt="Project 1">
                <h3>Project Title 1</h3>
                <p>A brief description of the project.</p>
                <a href="https://projectlink.com" target="_blank">View Project</a>
            </div>
            <!-- Project 2 -->
            <div class="project-card">
                <img src="project2.jpg" alt="Project 2">
                <h3>Project Title 2</h3>
               ...

CSS

/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Basic layout and typography */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #333;
    color: white;
    padding: 1rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
}

.hero {
    background: #007bff;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-button {
    background-color: #f0a500;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    margin-top: 2.25rem;
}

.cta-button:hover {
    background-color: #ff7f11;
}

.section {
    padding: 50px 20px;
    text-align: center;
}

.projects-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.project-card {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    width: 250px;
    text-align: center;
}

.project-card img {
    width: 100%;
    border-radius: 10px;
}

.project-card h3 {
    font-size: 1.5rem;
    margin: 10px 0;
}

.project-card a {
    text-decoration: none;
    color: #007bff;
    font-size: 1.1rem;
}

form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form input, form textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

form button {
    background-color: #007bff;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
}

form button:hover {
    background-color: #0056b3;
}

footer {
    text-align: center;
    padding: 10px;
   ...

JavaScript

// Example: Handling form submission
  document.getElementById('contact-form').addEventListener('submit', function(event) {
      event.preventDefault();
      alert('Message Sent! Thank you for reaching out.');
      // Here you can add your actual form submission code (e.g., using an API or email service).
  });