recadman11 / prj-rev-bwfs-dasmoto

0 stars 0 forks source link

HTML formatting #3

Open Default4152 opened 6 years ago

Default4152 commented 6 years ago

Simplify - You can make your HTML indentation and spacing more consistent by following a style guide like this one from Google: https://google.github.io/styleguide/htmlcssguide.html

Here is index.html with improvements to it's formatting:

<!DOCTYPE html>
<html>

<head>
  <title>Dasmoto's Arts & Crafts</title>
  <link href="./resources/style.css" type="text/css" rel="stylesheet">
</head>

<body>
  <h1>Dasmoto's Arts & Crafts</h1>
  <h2 class="brushes">Brushes</h2>
  <img src="./resources/hacksaw.jpeg" />
  <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.
    <div id="price">Starting at $3.00 / brush.</div>
  </p>
  <h2 class="frames">Frames</h2>
  <img src="./resources/frames.jpeg" />
  <h3>Art Frames (assorted)</h3>
  <p>Assorted frames made of different materials, including MDF, birchwood, and PDE. Select frames can be sanded and painted
    according to your needs.
    <div id="price"> Starting at $2.00 / frame.</div>
  </p>
  <h2 class="paint">Paint</h2>
  <img src="./resources/finnish.jpeg" />
  <h3>Clean Finnish Paint</h3>
  <p>Imported paint from Finland. Over 256 colors available in-store , varying in quantity (1 oz. to 8 oz.). Clean Finnish paint
    micro to canvas, increasing the finish and longevityof any artwork.
    <div id="price">Starting at $5.00 / tube.</div>
  </p>
</body>

</html>
recadman11 commented 6 years ago

so, should I not use whitespace or indentation?