Skip to content
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

Page layout/feature/zm #257

Open
wants to merge 6 commits 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
4 changes: 2 additions & 2 deletions dist/bundle.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@


/******/ (() => { // webpackBootstrap
var __webpack_exports__ = {};
alert('hello')
// var __webpack_exports__ = {};
// alert('hello')
/******/
})()
;
45 changes: 42 additions & 3 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,50 @@
<html>
<head>
<meta charset="UTF-8">
<title>Whats Cookin</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Balsamiq+Sans:ital,wght@1,700&family=Poppins:wght@200;300;400;500;600;700;800&display=swap">
<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=Eczar:wght@400;500;600;700;800&family=Kalam:wght@300;400;700&family=Radley:ital@0;1&display=swap" rel="stylesheet">
<title>What's Cookin'</title>
</head>
<body>
<h1>Whats Cookin</h1>
</body>
<div class="container">
<h1>What's Cookin'</h1>
<input type="text" placeholder="search recipes...">
<h2>Categories</h2>
<nav>
<a class="nav-link" href="#">ANTIPASTA</a>
<a class="nav-link"href="#">STARTER</a>
<a class="nav-link" href="#">SNACK</a>
<a class="nav-link"href="#">APPETIZER</a>
<a class="nav-link"href="#">ANTIPASTO</a>
<a class="nav-link"href="#">HOR D'OEUVRE</a>
<a class="nav-link"href="#">LUNCH</a>
<a class="nav-link"href="#">MAIN COURSE</a>
<a class="nav-link"href="#">MAIN DISH</a>
<a class="nav-link"href="#">DINNER</a>
<a class="nav-link"href="#">SAUCE</a>
<a class="nav-link"href="#">SIDE DISH</a>
<a class="nav-link"href="#">MORNING MEAL</a>
<a class="nav-link"href="#">BRUNCH</a>
<a class="nav-link"href="#">BREAKFAST</a>
<a class="nav-link"href="#">SALAD</a>
<a class="nav-link"href="#">CONDIMENT</a>
<a class="nav-link"href="#">DIP</a>
<a class="nav-link"href="#">SPREAD</a>
</nav>
<p>Loaded Chocolate Chip Pudding Cookie Cups</p>
<img class="image-styling" src="https://spoonacular.com/recipeImages/595736-556x370.jpg">
<p>"Maple Dijon Apple Cider Grilled Pork Chops</p>
<img class="image-styling" src="https://spoonacular.com/recipeImages/678353-556x370.jpg">
<p>Dirty Steve's Original Wing Sauce</p>
<img class="image-styling" src="https://spoonacular.com/recipeImages/412309-556x370.jpeg">
</div>
</body>
<!-- Do not include the scripts.js file here - it is done automatically by the webpack server -->
<script src="bundle.js"></script>
</html>
70 changes: 70 additions & 0 deletions dist/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
* {
background-color: #E7F1F1;
}

.container {
display: flex;
flex-direction: column;
align-items: center;
}

h1 {
font-family: 'Eczar', serif;
font-weight: 700;
font-size: 60px;
letter-spacing: 2px;
margin-top: -10px;
margin-bottom: 0px;

}

input {
height: 40px;
width: 250px;
border-radius: 10px;
background-color: white;
font-size: 20px;
font-family: 'Radley', serif;
}

input::placeholder {
font-family: 'Kalam', cursive;
}

h2 {
font-size: 40px;
letter-spacing: 2px;
margin-top: 20px;
font-family: 'Eczar', serif;
font-weight: 400;
}

nav {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: -20px;
}

.nav-link {
margin-right: 55px;
font-size: 20px;
color: black;
line-height: 35px;
text-decoration: none;
border-bottom: 4px solid orange;
text-transform: capitalize;
font-family: 'Eczar', serif;
}

.nav-link:hover {
color: white;
background-color: black;
}

.image-styling {
margin-top: 20px;
height: 150px;
width: 300px;
}

74 changes: 71 additions & 3 deletions src/styles.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,71 @@
body {
background-color: blueviolet;
}
* {
background-color: #E7F1F1;
}

.container {
display: flex;
flex-direction: column;
align-items: center;
}

h1 {
font-family: 'Eczar', serif;
font-weight: 700;
font-size: 60px;
letter-spacing: 2px;
margin-top: -10px;
margin-bottom: 0px;

}

input {
height: 40px;
width: 250px;
border-radius: 10px;
background-color: white;
font-size: 20px;
font-family: 'Radley', serif;
}

input::placeholder {
font-family: 'Kalam', cursive;
}

h2 {
font-size: 40px;
letter-spacing: 2px;
margin-top: 20px;
font-family: 'Eczar', serif;
font-weight: 400;
}

nav {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: -20px;
}

.nav-link {
margin-right: 55px;
font-size: 20px;
color: black;
line-height: 35px;
text-decoration: none;
border-bottom: 4px solid orange;
text-transform: capitalize;
font-family: 'Eczar', serif;
}

.nav-link:hover {
color: white;
background-color: black;
}

.image-styling {
margin-top: 20px;
height: 150px;
width: 300px;
}