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

London_10 Stella_Del_Mar HTML-CSS-Coursework-Week1 #347

Open
wants to merge 1 commit into
base: master
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
57 changes: 57 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,60 @@
* for example: General styles, Navigation styles, Hero styles, Footer etc.
*
*/
body {
font-family: Arial, sans-serif;
color: #333;
}

a {
color: #0077cc;
text-decoration: none;
}

header,
footer {
background-color: #f2f2f2;
padding: 10px;
}

header {
text-align: center;
}

main {
display: flex;
flex-direction: column;
width: clamp(320px, 75%, 763px);
margin: 0 auto;
gap: 2rem;
margin-top: 2rem;
}

article {
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}

img {
width: 100%;
}

.first {
background-color: #f2f2f2;
}

h1,
h2 {
font-weight: bold;
margin-bottom: 10px;
}

p {
margin-bottom: 10px;
}

footer {
text-align: center;
margin-top: 20px;
}
32 changes: 30 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,35 @@
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
</head>
<body>
<!-- Add your HTML markup here -->
<!-- Remember: Use semantic HTML tags like <header>, <main>, <nav>, <footer>, <section> etc -->
<header>
<h1>My Website</h1>
<p>Welcome to my website!</p>
</header>
<main>
<article class="first">
<h2>Introduction to Japanese cuisine</h2>
<p>This article can provide an overview of the different types of Japanese cuisine, such as sushi, ramen, tempura, and yakitori, and explain what makes them unique and popular around the world..</p>
<a href="#">Read More</a>
</article>
<div>
<img src="/sushi1.jpg" alt="sushi">
</div>
<article>
<h2>The art of sushi-making</h2>
<p>This article can explore the intricate process of making sushi, from selecting the right ingredients to preparing the perfect rice and slicing the fish. It can also discuss the different types of sushi, such as nigiri, maki, and sashimi.</p>
<a href="#">Read More</a>
</article>
<div>
<img src="/sushi2.jpg" alt="sashimi">
</div>
<article>
<h2>Japanese street food</h2>
<p>Japanese street food is a popular and affordable way to sample a variety of Japanese flavors. This article can highlight some of the most popular Japanese street foods, such as yakitori, takoyaki, and taiyaki, and explore their history and cultural significance.</p>
<a href="#">Read More</a>
</article>
</main>
<footer>
<p>&copy; 2023 Stella Del Mar and ChatGPT</p>
</footer>
</body>
</html>
Binary file added sushi1.jpg
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 sushi2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.