Hello everyone i have just finished the Dasmoto’s Arts & Crafts project and seeking a review of my code, i am currently 7% of the way through the front end career path.
I chose to encapsulate the information in each section element within article elements so any future additions within that section would be a new article, a new brush type for example.
thanks for taking the time
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dasmoto's Arts & Crafts</title>
<link href="./resources/css/index.css" type="text/css" rel="stylesheet">
</head>
<body>
<!-- header -->
<header>
<h1>Dasmoto's Arts & Crafts</h1>
</header>
<main>
<!-- Brushes sections -->
<section id="brushes">
<h2>Brushes</h2>
<article>
<img src="./resources/images/hacksaw.webp" alt="wooden handled hacksaw brushes">
<h3>Hacksaw Brushes</h3>
<p>Made of the highest quality oak, Hacksaw brushes are known for their weight and ability to hold paint in large amounts. Available in different sizes. <span class="pricing">Strating at $3.00 / brush</span></p>
</article>
</section>
<!-- Frames section -->
<section id="frames">
<h2>Frames</h2>
<article>
<img src="resources/images/frames.webp" alt="frames of various sizes and colours">
<h3>Art Frames(assorted)</h3>
<p>Assorted frames made of different material, including MDF, birchwood, and PDE. Select frames can be sanded and painted according to your needs. <span class="pricing">Starting at $2.00 / frame.</span></p>
</article>
</section>
<!-- Paint section -->
<section id="paint">
<h2>Paint</h2>
<article>
<img src="resources/images/finnish.jpeg" alt="tubes of paint">
<h3>Clean Finish Paint</h3>
<p>Imported paint from Finland. Over 256 colors available in-store, varying in quantity (1 oz. to 8 oz.). Clean Finnish paint microbinds to canvas, increasing the finish and longevity of any artwork. <span class="pricing">Starting at $5.00 / tube.</span></p>
</article>
</section>
</main>
</body>
</html>
/* global*/
* {
font-family: Helvetica
}
h2 {
font-size: 32px;
font-weight: bold;
color: white;
}
.pricing {
color: blue;
font-weight: bold;
}
/*header*/
header {
background-image: url('../images/pattern.webp');
}
header h1 {
font-family: Helvetica;
font-size: 100px;
font-weight: bold;
color: khaki;
text-align: center;
}
/*main - brushes*/
#brushes h2 {
background-color: mediumspringgreen;
}
/*main - frames*/
#frames h2 {
background-color: lightcoral;
}
/*main - paint*/
#paint h2 {
background-color: skyblue;
}