Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
126 changes: 126 additions & 0 deletions Myprofile.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="Mohammad Sahragard">
<title>Responsive Profile Page</title>
<!-- Import font icon (FontAwesome) -->
<script src="https://kit.fontawesome.com/b8b432d7d3.js" crossorigin="anonymous"></script>
<!-- Import css file (style.css) -->
<link rel="stylesheet" href="stylemyprof.css">
</head>
<body>
<div class="container">
<div class="profile-card">
<!-- Profile header section -->
<div class="profile-header">
<div class="main-profile">
<div class="profile-image">
<img src="profile-pic.jpg" alt="Profile Picture" class="profile-pic-img"> <!-- Placeholder for profile image -->
</div>
<div class="profile-names">
<h1 class="username">user name</h1>
<small class="page-title">user@example.com</small>
</div>
</div>
</div>

<!-- Profile body section -->
<div class="profile-body">
<div class="profile-actions">
<button class="follow">Follow</button>
<button class="message">Message</button>
<!-- Bio Section -->
<section class="bio">
<div class="bio-header">
<i class="fa fa-info-circle"></i>
Bio
</div>
<p class="bio-text">
Passionate traveler and adventure enthusiast. Exploring the world one destination at a time!
</p>
</section>
</div>

<div class="account-info">
<div class="data">
<div class="important-data">
<section class="data-item">
<h3 class="value">104</h3>
<small class="title">Posts</small>
</section>
<section class="data-item">
<h3 class="value">21</h3>
<small class="title">Total Travels</small>
</section>
<section class="data-item">
<h3 class="value">51</h3>
<small class="title">Rewards</small>
</section>
</div>
<div class="other-data">
<section class="data-item">
<h3 class="value">41K</h3>
<small class="title">Likes</small>
</section>
<section class="data-item">
<h3 class="value">12K</h3>
<small class="title">Comments</small>
</section>
<section class="data-item">
<h3 class="value">2K</h3>
<small class="title">Saved</small>
</section>
</div>
</div>

<!-- Travel History and Upcoming Trips Section -->
<div class="travel-history">
<h3>My Travel History</h3>
<ul>
<li>Paris (Jan 2023) - Adventure Tour</li>
<li>New York (Dec 2022) - Cultural Tour</li>
</ul>
</div>

<div class="upcoming-trips">
<h3>Upcoming Trips</h3>
<ul>
<li>Tokyo (March 2024) - 7 days</li>
<li>Rome (June 2024) - 5 days</li>
</ul>
</div>


<div class="rewards">
<h3>Rewards</h3>
<p>You have <strong>51</strong> rewards points!</p>
<button class="redeem-button">Redeem Rewards</button>
</div>

<!-- Social Media Section -->
<div class="social-media">
<span>Social Media Handles:</span>
<a href="https://facebook.com" class="media-link"><i class="fab fa-facebook-square"></i></a>
<a href="https://twitter.com" class="media-link"><i class="fab fa-twitter-square"></i></a>
<a href="https://linkedin.com" class="media-link"><i class="fab fa-linkedin"></i></a>
<a href="https://instagram.com" class="media-link"><i class="fab fa-instagram-square"></i></a>
<a href="https://github.com" class="media-link"><i class="fab fa-github-square"></i></a>
</div>

<!-- Last Post Section (fixed alignment) -->
<div class="last-post">
<div class="post-cover">
<span class="last-badge">Last Travel</span>
</div>
<h3 class="post-title">Photos</h3>
<button class="post-CTA">View</button>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
Loading
Loading