Skip to content

challenge 1 #4

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

Merged
merged 1 commit into from
Dec 15, 2022
Merged
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: 3 additions & 1 deletion starter/03-CSS-Fundamentals/blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
<title>BLOG</title>
</head>
<body>
<nav>
<a href="index.html">Back to home</a>
</nav>
<h2>BLOG</h2>
<a href="index.html">Back to home</a>
</body>
</html>
20 changes: 20 additions & 0 deletions starter/03-CSS-Fundamentals/challenges/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Challenges</title>
</head>
<body>
<nav>
<a href="../index.html">Home</a>
</nav>
<h1>Challenges</h1>
<article>
<ol>
<li><a href="shoes.html">Chuck Tayloer Ecommerce Item Page</a></li>
</ol>
</article>
</body>
</html>
39 changes: 39 additions & 0 deletions starter/03-CSS-Fundamentals/challenges/shoes.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" href="../css/shoes.css" />
<title>Chucks</title>
</head>
<body>
<nav>
<a href="../index.html">Home</a>
<a href="index.html">Challenges</a>
</nav>

<article>
<h1 class="item-title">Converse Chuck Taylor All Start Low Top</h1>
<img
src="../img/challenges.jpg"
height="250"
width="250"
alt="an image of black canvas shoes"
/>
<h3 class="price">$65.00</h3>
<p class="free-shipping">Free Shipping</p>
<p>
Ready to dress up or down, these classic canvas Chucks are an everyday
wardrobe staple.
</p>
<a href="#">More information &rarr;</a>
<h2>Production Details</h2>
<ul>
<li>Lightweight, durable canvas sneaker</li>
<li>Lightly padded footbed for added comfort</li>
<li>Iconic Chuck Taylor ankle patch</li>
</ul>

<button>Add to cart</button>
</article>
</body>
</html>
54 changes: 54 additions & 0 deletions starter/03-CSS-Fundamentals/css/shoes.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
body {
font-family: sans-serif;
font-size: 15px;
}

article {
border: 5px solid black;
}

h1 {
text-align: center;
}

.item-title {
text-transform: uppercase;
}

.free-shipping {
font-size: 12px;
font-weight: bold;
text-transform: uppercase;
color: #777;
}

.price {
font-size: 20px;
}

ul {
list-style: square;
}

button:hover {
background-color: white;
color: black;
}

a:link {
color: black;
text-decoration: none;
}

a:visited {
color: black;
}

a:hover {
text-decoration: underline;
}

button {
background-color: black;
color: white;
}
15 changes: 15 additions & 0 deletions starter/03-CSS-Fundamentals/css_grid.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CSS Grid</title>
</head>
<body>
<nav>
<a href="index.html">Home</a>
</nav>
<h1>CSS Grid</h1>
</body>
</html>
15 changes: 15 additions & 0 deletions starter/03-CSS-Fundamentals/flexbox.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Flexbox</title>
</head>
<body>
<nav>
<a href="index.html">Home</a>
</nav>
<h1>Flexbox</h1>
</body>
</html>
6 changes: 3 additions & 3 deletions starter/03-CSS-Fundamentals/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ <h1>📘 The Code Magazine</h1>

<nav>
<a href="blog.html">Blog</a>
<a href="#">Challenges</a>
<a href="#">Flexbox</a>
<a href="#">CSS Grid</a>
<a href="challenges/index.html">Challenges</a>
<a href="flexbox.html">Flexbox</a>
<a href="css_grid.html">CSS Grid</a>
</nav>
</header>

Expand Down