Skip to content

added the Catalog and the footer #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
Binary file added images/Aljazeera beach.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Barbara beach.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hobyobeach.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
47 changes: 46 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,50 @@
<link rel="stylesheet" href="style.css" />
<title>Somalia Costline</title>
</head>
<body></body>
<body>
<section class="Catalog">
<h2>Catalog</h2>
<div class="images">

<div class="card">
<img src="images/Aljazeera beach.jpeg" alt="Aljazeera beach in mogdisho" />

<h4>Aljazeera Beach</h4>
<p>Mogadishu’s peaceful beach with soft waves and golden sands.</p>


</div>

<div class="card">

<img src="images/Barbara beach.jpeg" alt="barbara somalia beach" />

<h4>Berbara Beach</h4>
<p> historical and ancient trading beach</p>

</div>

<div class="card">

<img src="images/hobyobeach.jpeg" alt="hobyo somalia beach" />

<h4> Hobyo beach</h4>
<p>The quitest untouched beach in the world</p>


</div>


<div class="explore">
<p>
Explore the somali cost from north to south and from east to west its endless magic
</p>
</div>

</div>
</section>
<footer>
<p>Somali Coast . made by friends</p>
</footer>
</body>
</html>
64 changes: 64 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
.Catalog {
padding: 2rem;
text-align: center;
background-color: #dbe7f1;

}
.Catalog h2 {
margin-bottom: 1rem;
font-size: 2rem;
color: #006064;
}
.Catalog .images{
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 1rem;
margin-bottom: 1.5rem;
}

.card {
background-color: #dde1f2;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
overflow: hidden;
width: 300px;
text-align: center;
transition: transform 0.3s ease;
}

.card:hover {
transform: translateY(-5px);
}

.card img {
width: 100%;
height: 200px;
object-fit: cover;
}

.card h4 {
margin: 0.5rem 0 0;
font-size: 1.2rem;
color: #006064;
}

.card p {
font-size: 0.95rem;
padding: 0 1rem 1rem;
color: #444;
}

footer {
background-color: #dfecfc;
text-align: center;
padding: 1rem;
margin-top: 2rem;
}
@media (max-width: 768px) {
.Catalog .images img {
width: 100%;
height: auto;
}
}