Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.

London - class 10 - Doves - Hussein Bahdon #508

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
Summary ( index.html, style.css
Created the layout and basic styling for now
  • Loading branch information
H-BAHDON committed Feb 6, 2023
commit 2c16a0dcfdd5bdbf08bcadac424a805a11071ac1
116 changes: 113 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,121 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Responsive Cake webpage</title>
<!-- Add a link to your css file here -->
<link rel="stylesheet" href="./style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@100&display=swap" rel="stylesheet">

<!-- google fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Sassy+Frass&display=swap" rel="stylesheet">


<!-- google fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@200&family=Sassy+Frass&display=swap" rel="stylesheet">
</head>
<body>

<div class="hero-Banner">
<nav class="hero-banner-navbar">
<div class="hero-banner-navbar-logo">
<h2>Sweet Delights</h2>
</div>

<div class="hero-banner-navbar-links">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Cakes</a></li>
<li><a href="#">Order</a></li>
<li><a href="#">Lessons</a></li>
<li><a href="#">About us</a></li>
</ul>
</div>
<div class="hero-banner-navbar-icons">
<i class="fa-regular fa-magnifying-glass"></i>
<i class="fa-light fa-user"></i>
<i class="fa-light fa-cart-shopping"></i>
</div>
</nav>

<div class="hero-Banner-content">
<div class="hero-Banner-content-text">
<h1>Amazing Cakes</h1>
<p>Indulge in the sweetest creations, crafted with love just for you.
<br> Bite into a world of flavor, one delicious cake at a time.</p>
</div>
<div class="hero-Banner-content-button">
<button>Get Your Sweet Treats Today</button>
</div>
</div>
</div>

<div class="features">
<div class="features-content poundCake">
<h1>Pound-Cake</h1>
<p>Indulge in the timeless flavor of our decadent pound cake.</p>
<button>Learn More</button>
</div>

<div class="features-content redVelvet">
<h1>Red-Velvet-Cake</h1>
<p>Satisfy your sweet tooth with our velvety smooth and tantalizing red velvet cake. </p>
<button>Learn More</button>
</div>

<div class="features-content carrot-Cake">
<h1>Carrot-Cake</h1>
<p>Discover the perfect balance of sweet, nutty, and spicy with every bite of our irresistible carrot cake.</p>
<button>Learn More</button>
</div>

</div>

<div class="topSelling">
<div class="topSelling-heading">
<h1>Top Selling</h1>
<hr>
</div>
<div class="topSelling-content">
<p>Our top selling cakes are a testament to the timeless appeal of classic flavors and irresistible sweetness.<br> So why wait?</p>
</div>
<div class="topSelling-products">
<div class="topSelling-products-item">
<img src="https://cdn-icons-png.flaticon.com/128/2561/2561542.png" alt="">
<a class="products-Button" href="">Buy Now!</a>
</div>
<div class="topSelling-products-item">
<img src="https://cdn-icons-png.flaticon.com/512/123/123252.png" alt="">
<a class="products-Button" href="">Buy Now!</a>
</div>
<div class="topSelling-products-item">
<img src="https://cdn-icons-png.flaticon.com/512/3014/3014488.png" alt="">
<a class="products-Button" href="">Buy Now!</a>
</div>
<div class="topSelling-products-item">
<img src="https://cdn-icons-png.flaticon.com/512/2439/2439042.png" alt="">
<a class="products-Button" href="">Buy Now!</a>
</div>
</div>

<footer>

</footer>

</div>









<body>
<!-- Add your markup here -->
<script src="https://kit.fontawesome.com/87551aaac5.js" crossorigin="anonymous"></script>
</body>

</html>
164 changes: 164 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -1 +1,165 @@
/* Add your styling here */
body{
margin:0;
background-color:aliceblue;
font-family: 'Montserrat', sans-serif;
}

button{
padding: 0.7rem;
background-color:black;
color: white;
}

.hero-Banner {
background-image:linear-gradient(0deg, rgb(4 3 3 / 30%), rgb(129 129 129 / 30%)), url("https://images.unsplash.com/photo-1464305795204-6f5bbfc7fb81?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxjb2xsZWN0aW9uLXBhZ2V8M3w0NTF8fGVufDB8fHx8&w=1000&q=80");
background-repeat: no-repeat;
height: 40rem;
background-position: center;
background-repeat: no-repeat;
background-size: cover;

}

.hero-banner-navbar{
display: flex;
justify-content: space-between;
align-items: center;
/* margin:17px; */

}

.hero-banner-navbar-logo h2 {
font-size: 3rem;
font-family: 'Sassy Frass', cursive;
}

.hero-banner-navbar-links ul {
display: flex;
flex-direction: row;
padding: 0 4px;
list-style: none;
}
.hero-banner-navbar-links ul li a {
color: white;
font-size: 21px;
padding: 0 16px;
text-decoration: none;
}

/* css for the icons if needed */


.hero-Banner-content {
text-align: center;
top: 6rem;
/* left: 13rem; */

position: relative;
color:white;
font-size: 1.7rem;
}



/* ******************************************* */
/* styleing for the features section */
/* ******************************************* */

.features{
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
margin-top: 7rem;
}
.features-content{
height: 26rem;
width: 32rem;
background-position: center;
background-size: cover;

/* stlying */
color: white;

/* flex */
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
border-radius: 40%;
}

.features-content h1 {
margin: 0;
}
.features-content p {
padding: 0 3rem;
font-size: 20px;
text-align: center;
}
.poundCake{
background-image:linear-gradient(0deg, rgba(231, 3, 3, 0.3), rgba(3, 1, 1, 0.3)), url("https://prettysimplesweet.com/wp-content/uploads/2018/01/easy_lemon_bundt_cake_recipe.jpg");
}
.redVelvet {
background-image:linear-gradient(0deg, rgba(234, 98, 232, 0.3), rgba(9, 4, 4, 0.3)), url("https://jessicainthekitchen.com/wp-content/uploads/2021/12/red-velvet-cake03132-V1.jpg");
}
.carrot-Cake{
background-image:linear-gradient(0deg, rgba(96, 255, 226, 0.3), rgba(0, 0, 0, 0.3)), url("https://media.istockphoto.com/id/466724890/photo/healthy-homemade-carrot-cake.jpg?b=1&s=612x612&w=0&k=20&c=gZECFsoulqaw6wImpJvlZ9SvPLo9PfH4EH804_Y--uM=");
}




/* *************************************** */
/* Styling for Top Selling */
/* *************************************** */

.topSelling{
display: flex;
flex-direction: column;
align-items: center;
padding: 4rem 20rem;
}
.topSelling-heading {
font-size: 25px;
}


.topSelling-content p{
text-align: center;
font-size: 18px;
padding: 0 4rem;

}

.topSelling-products {
display: flex;
align-items: center;
justify-content: space-between;
}
.topSelling-products-item {
display: flex;
flex-direction: column;
align-items: center;
}
.topSelling-products-item img {
width: 54px;
padding: 37px 8rem;
}
.products-Button{
background-color:none;
color: rgba(0, 0, 0, 0.307);
border: none;
font-family: none;
}



/* *************************************** */
/* Styling for Footer */
/* *************************************** */
footer {
padding:4rem 0;
}