A comprehensive portfolio website built to master Git version control, HTML5, and CSS3.
- Learn Git fundamentals and advanced workflows
- Master HTML5 semantic markup
- Create responsive layouts with CSS3
- Implement modern CSS techniques (Flexbox, Grid, Animations)
- HTML5
- CSS3
- Git & GitHub
- Vanilla JavaScript (for interactivity)
portfolio-website/
├── index.html # Homepage
├── about.html # About page
├── projects.html # Projects showcase
├── contact.html # Contact form
├── css/
│ ├── reset.css # CSS reset
│ ├── variables.css # CSS custom properties
│ ├── base.css # Base styles
│ ├── layout.css # Layout styles
│ ├── components.css # Component styles
│ ├── animations.css # Animation keyframes
│ └── responsive.css # Media queries
├── js/
│ └── main.js # JavaScript functionality
└── images/ # Image assets
- Clone this repository
- Open
index.htmlin your browser - Explore different pages and features
- Repository initialization
- Basic commands (add, commit, status, log)
- Branching and merging
- Semantic HTML5 elements
- Forms and validation
- Accessibility best practices
- CSS selectors and specificity
- Box model and positioning
- Flexbox and CSS Grid
- Animations and transitions
- Custom properties (CSS variables)
- Advanced selectors
- Mobile-first approach
- Media queries
- Responsive layouts
Kato Ernest Henry
This project is for educational purposes.
[Add your GitHub Pages link here]
# Navigate to your desired location
cd ~/Documents
# Create project
mkdir portfolio-website
cd portfolio-website
# Create folders
mkdir css js images
# Initialize Git
git initCopy each code section into its respective file:
- Root files:
.gitignore,README.md,index.html,about.html,projects.html,contact.html - CSS files (in
css/folder):reset.css,variables.css,base.css,layout.css,components.css,animations.css,responsive.css - JS file (in
js/folder):main.js
Create placeholder images or use free images from:
Save images in the images/ folder:
profile.jpg(for about page)project1.jpgthroughproject6.jpg(for projects)
# Add all files
git add .
# Initial commit
git commit -m "Initial commit: Complete portfolio structure"
# Create and work with branches
git checkout -b feature/add-animations
git add css/animations.css
git commit -m "Add animation styles"
git checkout main
git merge feature/add-animations
# Create GitHub repository
git remote add origin https://github.com/yourusername/portfolio-website.git
git push -u origin mainOpen index.html in your browser to view the website.
Modify css/variables.css to change the color scheme
Create a blog.html page and add it to navigation
git checkout -b feature/new-section
# Make changes
git add .
git commit -m "Add new section"
git checkout main
git merge feature/new-sectionTest on different screen sizes and adjust breakpoints in responsive.css
Enhance js/main.js with more features:
- Dark mode toggle
- Animation on scroll
- More form validations
# Push to GitHub
git push origin main
# Enable GitHub Pages
# Go to: Repository Settings → Pages → Select main branch → Save
# Your site will be live at: https://yourusername.github.io/portfolio-websiteHappy Coding! 🚀