manok2912 / prj-rev-bwfs-dasmoto

0 stars 0 forks source link

Important: Always stay consistent with code formatting, especially with indentations. #5

Open josephtkim opened 7 years ago

josephtkim commented 7 years ago

It is always good to stay consistent with the code formatting, which includes indenting elements when they are nested in a parent element. In the HTML code, make sure to indent when elements are nested in other elements, and 1 indent relative to that parent element. This is important for improving the code readability.

Here is how the indentation for the body section should look for 2 spaces per indent.

<body>
  <div id="head">
    <h1>Dasmoto's Arts & Crafts</h1>
  </div>
  <div>
    <h2 class="sh" id="b">Brushes</h2>
    <img src="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. <span class="price">Starting at $3.00/brush.</span></p>
  </div>
  <div>
    <h2 class="sh" id="f">Frames</h2>
    <img src="frames.jpeg">
    <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="price">Starting at $2.00/frame.</span></p>
  </div>
  <div>
    <h2 class="sh"id="p">Paint</h2>
    <img src="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 microbinds to canvas, increasing the finish and longevity of any artwork. <span class="price">Starting at $5.00/ tube.</span></p>
  </div>
</body>
manok2912 commented 7 years ago

Thanks this was helpful