Skip to content

restructured and completed Challenge 1 #5

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
Jan 19, 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
Binary file not shown.
File renamed without changes.
76 changes: 76 additions & 0 deletions projectfolder/css/shopStyle.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
body {
font-family: sans-serif;
border: black 5px solid;
line-height: 1.4;
}

.product-name {
background: #f7f7f7;
text-transform: uppercase;
text-align: center;
}

.product-details {
text-transform: uppercase;
}

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

.price {
font-size: 25px;
}

/* Link styling */
.homepage:link {
color: #1098ad;
}

.homepage:visited {
color: #1098ad;
}
.homepage:hover {
color: orangered;
text-decoration: none orangred;
}

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

a:visited {
color: black;
}

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

/* Other stuff */

button {
background-color: black;
text-transform: uppercase;
color: white;
border: black solid 5px;
font-size: 18px;
}

button:hover {
color: black;
background-color: white;
border: white solid 5px;
/* The above can be consolidated down into:
background-color: white
filter:invert(100%)
*/
}

ul li {
list-style: square;
}
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,7 @@ High to Low
5 -> child element

*/

nav a:link {
font-size: 18px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
</style>
-->
<link href="style.css" rel="stylesheet" />
<link href="./css/style.css" rel="stylesheet" />
</head>
<body>
<!-- Comment Block, this his how you do comments in html-->
Expand All @@ -22,8 +22,8 @@ <h1 style="color: blue">
<h1>📘 The Code Magazine</h1>

<nav>
<a href="blog.html">Blog</a>
<a href="./challenges.html">Challenges</a>
<a href="./pages/blog.html">Blog</a>
<a href="./pages/challenges.html">Challenges</a>
<a href="#">Fexbox</a>
<a href="#">CSS Grid </a>
</nav>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,19 @@
<meta charset="UTF-8" />
<head>
<title>Challenge 2 - Converse Shoe thingy</title>
<link href="../css/shopStyle.css" rel="stylesheet" />
</head>
<body>
<article>
<h2>Converse Chuck Taylor All Start Low Top</h2>
<img src="./imgs/challenges.jpg" alt="A shoe" height="250" width="250" />
<p><strong>$65.00</strong></p>
<p>Free Shipping</p>
<a class="homepage" href="../index.html">Home Page</a>
<h2 class="product-name">Converse Chuck Taylor All Start Low Top</h2>
<img src="../imgs/challenges.jpg" alt="A shoe" height="250" width="250" />
<p class="price"><strong>$65.00</strong></p>
<p class="shipping">Free Shipping</p>
<p>Ready to dress up or down, these classic convo Chucks are an everyday wardrobe staple</p>
<a href="#"><u>More information &RightArrow; </u></a>
<a href="#">More information &RightArrow;</a>

<h2>Product Details</h2>
<h3 class="product-details">Product Details</h3>
<ul>
<li>Lightweight, durable and painful</li>
<li>Gives crippling back pain with each step</li>
Expand Down