A modern, responsive personal portfolio website built with HTML, CSS, and JavaScript. Perfect for showcasing your projects, skills, and professional information.
- Responsive Design: Works perfectly on desktop, tablet, and mobile devices
- Modern UI/UX: Clean, professional design with smooth animations
- Interactive Elements: Smooth scrolling, hover effects, and form handling
- SEO Optimized: Semantic HTML structure for better search engine visibility
- Fast Loading: Optimized code and assets for quick page loads
- Accessibility: Keyboard navigation and screen reader friendly
website/
βββ index.html # Main HTML file
βββ styles.css # CSS styles and responsive design
βββ script.js # JavaScript for interactivity
βββ README.md # This file
- Download the files: All website files are already in the
website/
folder - Open in browser: Simply double-click on
index.html
or right-click and select "Open with" β your preferred browser - Live server (optional): For development with auto-refresh:
# Install a simple HTTP server npm install -g live-server # Navigate to the website folder cd website # Start the server live-server
-
Create a GitHub repository:
- Go to GitHub and create a new repository
- Name it
yourusername.github.io
(replace with your GitHub username)
-
Upload your files:
- Upload all files from the
website/
folder to your repository - Make sure
index.html
is in the root directory
- Upload all files from the
-
Enable GitHub Pages:
- Go to your repository settings
- Scroll down to "Pages" section
- Select "Deploy from a branch" β "main" branch
- Your site will be available at
https://yourusername.github.io
- Drag and drop: Go to Netlify and drag your
website
folder to the deploy area - Custom domain: You can add a custom domain in the site settings
Update the following in index.html
:
<!-- Replace "Your Name" with your actual name -->
<title>Your Name - Portfolio</title>
<!-- In the navigation -->
<div class="nav-logo">
<a href="#home">Your Name</a>
</div>
<!-- In the hero section -->
<h1 class="hero-title">
Hi, I'm <span class="highlight">Your Name</span>
</h1>
<p class="hero-subtitle">
AI/ML Engineer | Data Scientist | Software Developer
</p>
Update contact details in the contact section:
<div class="contact-method">
<i class="fas fa-envelope"></i>
<span>your.email@example.com</span>
</div>
<div class="contact-method">
<i class="fab fa-linkedin"></i>
<span>linkedin.com/in/yourprofile</span>
</div>
<div class="contact-method">
<i class="fab fa-github"></i>
<span>github.com/yourusername</span>
</div>
Replace the placeholder icon with your actual photo:
- Add your photo to the website folder (recommended:
profile.jpg
orprofile.png
) - Update the profile image section in
index.html
:
<div class="profile-image">
<img src="profile.jpg" alt="Your Name" style="width: 100%; height: 100%; object-fit: cover; border-radius: 50%;">
</div>
Modify the projects section with your actual projects:
<div class="project-card">
<div class="project-image">
<i class="fas fa-x-ray"></i> <!-- Change icon as needed -->
</div>
<div class="project-content">
<h3>Your Project Name</h3>
<p>Your project description...</p>
<div class="project-tech">
<span class="tech-tag">Python</span>
<span class="tech-tag">TensorFlow</span>
<!-- Add more technologies -->
</div>
<div class="project-links">
<a href="https://github.com/yourusername/project" class="project-link">
<i class="fab fa-github"></i> GitHub
</a>
<a href="https://yourproject.com" class="project-link">
<i class="fas fa-external-link-alt"></i> Live Demo
</a>
</div>
</div>
</div>
Modify the skills section with your actual skills:
<div class="skill-item">
<span class="skill-name">Your Skill</span>
<div class="skill-bar">
<div class="skill-progress" data-width="85%"></div>
</div>
</div>
To change the color scheme, update these CSS variables in styles.css
:
/* Primary colors */
:root {
--primary-color: #2563eb; /* Blue */
--secondary-color: #7c3aed; /* Purple */
--accent-color: #fbbf24; /* Yellow */
--text-color: #1f2937; /* Dark gray */
--bg-color: #ffffff; /* White */
}
You can easily add new sections by:
- Adding a new section in
index.html
:
<section id="new-section" class="new-section">
<div class="container">
<h2 class="section-title">New Section</h2>
<!-- Your content here -->
</div>
</section>
- Adding corresponding styles in
styles.css
- Adding navigation link in the navbar
The website is optimized for:
- Desktop: 1200px and above
- Tablet: 768px - 1199px
- Mobile: Below 768px
To improve search engine visibility:
- Update meta tags in the
<head>
section:
<meta name="description" content="Your professional description">
<meta name="keywords" content="your, keywords, here">
<meta name="author" content="Your Name">
- Add Open Graph tags for social media sharing:
<meta property="og:title" content="Your Name - Portfolio">
<meta property="og:description" content="Your professional description">
<meta property="og:image" content="path/to/your/image.jpg">
The website includes several animation classes you can use:
.fade-in
: Fade in animation.slide-in-left
: Slide in from left.slide-in-right
: Slide in from right
To use custom fonts, add them to the <head>
section:
<link href="https://fonts.googleapis.com/css2?family=YourFont:wght@300;400;500;600;700&display=swap" rel="stylesheet">
Then update the font-family in CSS:
body {
font-family: 'YourFont', sans-serif;
}
- Optimize images: Compress images before adding them
- Minify files: Use online tools to minify CSS and JS for production
- Use CDN: Consider using a CDN for faster loading
- Enable compression: Configure server compression for better performance
If you need help customizing your website:
- Check the code comments: All files include helpful comments
- Use browser developer tools: Right-click β Inspect to see how elements are styled
- Test on different devices: Use browser dev tools to test responsive design
This template is free to use for personal and commercial projects. Feel free to modify and distribute as needed.
Happy coding! π
Your professional portfolio website is ready to showcase your skills and projects to the world!