This repository was archived by the owner on Apr 18, 2025. It is now read-only.
generated from CodeYourFuture/Module-Template
-
-
Notifications
You must be signed in to change notification settings - Fork 55
NW6 | ZELIHA PALA | HTML-CSS Module | Multipage Clone | Week 4 #182
Open
zelihapala
wants to merge
26
commits into
CodeYourFuture:main
Choose a base branch
from
zelihapala:zeliha-pala-profile-MultiPage-Clone
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
c56d3da
navbar added
zelihapala e0b6bf1
sections and cake container added
zelihapala 7257ade
The HTML images and texts have been organized
zelihapala 35d7c60
added hamburger menu icons
zelihapala f292218
html updated
zelihapala 81d1492
header style added
zelihapala 883757b
mobil css added
zelihapala ef1b464
desktop css added
zelihapala d5f8998
css updated
zelihapala 0e38221
footer links and copyright added
zelihapala 7e3b8b3
Updated hamburger menu display with hidden nav and checkbox.
zelihapala f51327f
updated images
zelihapala d89672c
initial html written
zelihapala 31a1715
css for logo created
zelihapala 15bcc88
html updated
zelihapala db681c5
css updated
zelihapala 7f690b8
header updated hamburger menu updated
zelihapala d7dd821
hamburger menu style updated
zelihapala cf678c5
html written from the beginning
zelihapala aea4a93
css updated
zelihapala d4c9e87
css updated
zelihapala acd83c0
html for mobile updated
zelihapala e3e2ad4
new image added
zelihapala 198373e
html designed
zelihapala d965251
styles for web display given
zelihapala feeec2a
new img
zelihapala File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
|
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,91 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
|
|
||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
| <head> | ||
| <title>Document</title> | ||
| </head> | ||
| <body></body> | ||
| </html> | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>Responsive Cake webpage</title> | ||
| <!-- Add a link to your css file here --> | ||
| </head> | ||
| <link rel="stylesheet" href="style.css" /> | ||
| </head> | ||
| <body> | ||
| <header> | ||
| <div class="header-top"> | ||
| <img class="logo-img" src="img/u1Ivx5yA_1200x.webp" alt="Logo2" /> | ||
|
|
||
| <div class="right"> | ||
| <label for="menu-icon"> | ||
| <img | ||
| class="hamburger-menu" | ||
| src="img/icons8-hamburger-menu-100.svg" | ||
| alt="Hamburger Menu" | ||
| /></label> | ||
|
|
||
| <h3 id="name">The best cakes in town<br />delivered to your door</h3> | ||
| </div> | ||
| </div> | ||
| <input type="checkbox" id="menu-icon" /> | ||
| <nav> | ||
| <ul> | ||
| <li><a href="#">Home</a></li> | ||
| <li><a href="#">Cakes</a></li> | ||
| <li><a href="#">Ordering</a></li> | ||
| <li><a href="#">Lessons</a></li> | ||
| <li><a href="#">About</a></li> | ||
| </ul> | ||
| </nav> | ||
| </header> | ||
|
|
||
| <main> | ||
| <section class="hero"> | ||
| <h1>Cakes Time</h1> | ||
| <p> | ||
| Discover our expertly crafted cake selection, a legacy of quality born | ||
| from decades of dedication. From classic to unique flavors, we've | ||
| delighted generations with our cakes. Join us in celebrating this | ||
| tradition of excellence. Choose from our range of cheesecakes, | ||
| chocolate cakes, cupcakes, and birthday cakes to satisfy your sweet | ||
| cravings, and make each choice an experience to remember. | ||
| </p> | ||
| </section> | ||
|
|
||
| <section class="img-area"> | ||
| <img class="img-big" src="img/297.jpg" alt="" /> | ||
| </section> | ||
|
|
||
| <body> | ||
| <!-- Add your markup here --> | ||
| </body> | ||
| <section class="cake-section"> | ||
| <img class="grid-img" src="img/yaspasta-rizem.jpg" alt="" /> | ||
| <img | ||
| class="grid-img" | ||
| src="img/Peanut-Butter-Chocolate-Cupcakes_730px-2.jpg.webp" | ||
| alt="" | ||
| /> | ||
| <img | ||
| class="grid-img" | ||
| src="img/baklava-honey-pisctachio-cupcakes-kays-kitchen.webp" | ||
| alt="" | ||
| /> | ||
| <img class="grid-img" src="img/twincupcake-2749204_1280.jpg" alt="" /> | ||
| </section> | ||
| </main> | ||
|
|
||
| </html> | ||
| <footer> | ||
| <div> | ||
| <a class="footer-links" href="traditional_cakes.html" | ||
| >Traditional Cakes</a | ||
| > | ||
| <a class="footer-links" href="special_cake.html">Special Cake</a> | ||
| <a class="footer-links" href="add_recipe.html">Add Your Recipe</a> | ||
| </div> | ||
| <hr /> | ||
| <p class="copyright"> | ||
| © ISTANBUL 2023 Cakes Time. All rights reserved. | ||
| </p> | ||
| </footer> | ||
| </body> | ||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,197 @@ | ||
| /* Add your styling here */ | ||
| * { | ||
| margin: 0; | ||
| padding: 0; | ||
| box-sizing: border-box; | ||
| } | ||
| body { | ||
| font-family: Arial, sans-serif; | ||
| font-size: 1em; | ||
| } | ||
|
|
||
| /* header styles */ | ||
|
|
||
| header { | ||
| width: 100vw; | ||
| /* height: 25vh; */ | ||
| display: flex; | ||
| flex-direction: column; | ||
| background-color: #fad3f8; | ||
| color: #b60a7d; /* text color */ | ||
|
|
||
| box-shadow: rgb(153, 161, 153) -5px 20px 30px -10px; | ||
| } | ||
|
|
||
| .header-top { | ||
| display: flex; | ||
| flex-direction: row; | ||
| justify-content: space-around; | ||
| align-items: flex-start; | ||
| padding: 1.3rem; | ||
| } | ||
| nav ul { | ||
| display: none; | ||
| column-gap: 40px; | ||
| font-size: 1.2em; | ||
| list-style-type: none; | ||
| justify-content: center; | ||
| margin: 20px 0; | ||
| flex-direction: column; | ||
| align-items: center; | ||
| } | ||
| ul li a { | ||
| text-decoration: none; | ||
| color: rgb(35, 130, 194); | ||
| font-weight: 300; | ||
| } | ||
| .logo-img { | ||
| height: 7em; | ||
| } | ||
|
|
||
| .right { | ||
| height: 100%; | ||
| display: flex; | ||
| flex-direction: column; | ||
| justify-content: space-between; | ||
| align-items: end; | ||
| } | ||
| .hamburger-menu { | ||
| height: 4em; | ||
| } | ||
| #menu-icon { | ||
| display: none; | ||
| } | ||
| #menu-icon:checked + nav ul { | ||
| display: flex; | ||
| } | ||
| .right h3 { | ||
| font-size: 1.1em; | ||
| font-weight: 200; | ||
| } | ||
| #name { | ||
| text-align: right; | ||
| color: #c221a7; | ||
| font-weight: bold; | ||
| text-shadow: #f5f5f5; | ||
| } | ||
|
|
||
| /* main styles */ | ||
|
|
||
| main { | ||
| margin: 2.6em 0; | ||
| padding: 1.3rem; | ||
| display: grid; | ||
| grid-template-rows: repeat(3, auto); | ||
| gap: 2em; | ||
| background: linear-gradient( | ||
| 135deg, | ||
| #e1afebd3 0%, | ||
| #f5f5f5 30%, | ||
| #83dac465 100% | ||
| ); | ||
| } | ||
|
|
||
| /* image area styles */ | ||
|
|
||
| .hero { | ||
| display: flex; | ||
| flex-direction: column; | ||
| gap: 2em; | ||
| } | ||
|
|
||
| .hero p { | ||
| text-align: justify; | ||
| } | ||
| h1 { | ||
| color: #c221a7; | ||
| } | ||
|
|
||
| /* image area styles */ | ||
|
|
||
| main img { | ||
| border-radius: 1em; | ||
| box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px; | ||
| } | ||
| .img-big { | ||
| width: 100%; | ||
| height: auto; | ||
| } | ||
|
|
||
| .cake-section { | ||
| display: grid; | ||
| gap: 1.3em; | ||
| grid-template-columns: repeat(2, auto); | ||
| grid-template-rows: repeat(2, 30vw); | ||
| } | ||
|
|
||
| .grid-img { | ||
| width: 100%; | ||
| height: 100%; | ||
| object-fit: cover; | ||
| } | ||
|
|
||
| /* footer styles */ | ||
|
|
||
| footer { | ||
| width: 100vw; | ||
| height: 25vh; | ||
| padding: 1.3rem; | ||
| background-color: #fad3f8; | ||
| color: #9b5de5; /* text color */ | ||
| } | ||
| .copyright { | ||
| text-align: center; | ||
| } | ||
| .footer-links { | ||
| display: block; | ||
| margin-bottom: 1rem; | ||
| } | ||
| @media screen and (min-width: 540px) { | ||
| main { | ||
| margin: 2.6em 0; | ||
| padding: 1.3rem; | ||
|
|
||
| grid-template-columns: repeat(2, 1fr); | ||
| grid-template-rows: 2fr 1fr; | ||
|
|
||
| gap: 2em; | ||
| } | ||
|
|
||
| .logo-img { | ||
| height: 15em; | ||
| } | ||
|
|
||
| .hero { | ||
| grid-row: 1/2; | ||
| grid-column: 2/-1; | ||
| text-align: end; | ||
| align-content: flex-start; | ||
| gap: 2em; | ||
| } | ||
| .hero p { | ||
| margin-bottom: 2em; | ||
| font-size: 1.5em; | ||
| } | ||
|
|
||
| .img-area { | ||
| grid-row: 1/2; | ||
| grid-column: 1/2; | ||
| } | ||
|
|
||
| .cake-section { | ||
| grid-row: 2/-1; | ||
| grid-column: 1/-1; | ||
| grid-template-columns: repeat(4, 1fr); | ||
| grid-template-rows: repeat(1, 15vw); | ||
| } | ||
| nav ul { | ||
| display: flex; | ||
| flex-direction: row; | ||
| column-gap: 40px; | ||
| list-style-type: none; | ||
| justify-content: center; | ||
| margin: 20px 0; | ||
| } | ||
| .hamburger-menu { | ||
| display: none; | ||
| } | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please consider using html5 semantic elements