76 Matching Annotations
  1. Nov 2022
    1. padding-right: 50px;

      margin-right: 50px; is better in this case.

      padding makes the element bigger, margin makes the space between elements bigger.

    1. height: 150px;

      parent containers take on the height of their children, think of it as an automatically adjusting height depending on its childs height.

      Parents height scales to the childs height childs width scales to the parents width

    2. @media only screen and (max-width: 1100px) { header { height: fit-content; padding-bottom: 20px; }

      you did this but no button hovers. TISK TISK!

    3. line-height: 1.8rem; padding: 10px 0; }

      take off the padding on the li and give it to the a tag so you can hover less over the word to select the link, makes it better for accessibility.

    4. .hero button { margin-top: 40px; }

      all buttons have the same style, I recommend creating a specific button class to style all of the buttons, and button:hovers;

    1. <p> Copyright &copy; 2022. All rights reserved North Island College DIGITAL Design + Development </p>

      you could turn this into a <small> not needed, but an option.

    2. <div class="news"> <h3>Latest News</h3> <ul> <li> <h4>October 1:</h4> <p>Morbi sed tortor quam.</p> </li> <li> <h4>September 15th:</h4> <p>Nam suscipit ultrices maximus.</p> </li> <li> <h4>September 10th:</h4> <p>Curabitur purus nulla.</p> </li> </ul> </div>

      this should be a link, you can create an active link with href="#'

    3. <img src="images/distance-and-inclass-students.png" alt="Classroom of distance and in-class students" width="600" height="350" /> <h1>Lorem ipsum dolor sit amet</h1> <p> Lorem ipsum dolor sit, amet consectetur adipisicing elit. Quibusdam architecto aperiam esse numquam dignissimos, odit eveniet nemo dicta reprehenderit. </p> <p> Lorem ipsum dolor sit amet consectetur adipisicing elit. Perspiciatis maxime doloremque est nam ad quibusdam omnis accusantium. </p> <button type="button">Find out how we can help you</button>

      you can add this into the header, this is what would be considered the hero image. you should also wrap this in a <figure> with the text inside a <figcaption>

    4. <img src="images/dgl-logo.png" alt="DIGITAL Design + Development logo" width="150" height="150" />

      add this inside the <nav> give it a class and then give the ul a float: right; img.class float: left;

    1. <img class="imgStudents" src="images/distance-and-inclass-students.png" alt="inclass and distance students">

      wrap this in a <figure> with a <figcaption> for the text

    2. <div class="headerStyle"> <img class="imgLogo clearfix " src="images/dgl-logo.png" alt="Digital Design Development logo" />

      you should add this into the <nav> you just need to give it an opposing float.

      so the >ul< as a float: right; img.logo float: left;

    3. <p><b>October 1:</b><br>Mauris eu sagittis neque</p> <p><b>September 15th:</b><br>eu mollis lectus</p> <p><b>September 10th:</b><br>Morbi pharetra neque</p>

      this should be a list, and links

  2. Oct 2022
    1. <main>

      The content looks good, well explained with good images. But I recommend changing the width of the <main> to something smaller, around 60% of the total page width, so that your paragraphs aren't super long. Additionally. I would also recommend giving the body the background image, and leaving the <main> with a flat color so it isn't as distracting to read.

    1. .country{ background-image:linear-gradient(356deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 100%); color: blue; }

      the country in the example doesn't have a background, however, adding your own personal flare isn't a bad thing either!

    1. <samp class="highlight">live</samp> <small class="color"><b>Breaking</b></small> <samp class="country">UK</samp>

      <samp> is used to highlight code, it may be better to use a simple <span>

    1. <!--Fonts below are for card three--> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=IBM+Plex+Serif:ital,wght@1,300&family=Lexend+Deca:wght@400;500&display=swap" rel="stylesheet"> <!--Fonts below are for card four--> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Montserrat&display=swap" rel="stylesheet">

      redundant, in longer pages of code it will slow down your page. Just use one <link>

    1. .card-four-red{ display: inline-block; background-color: crimson; color: white; width: 40px; } .card-four-yellow{ display: inline-block; background-color: gold; color: black; font-weight: 700; width: 80px; } .card-four-blue{ display: inline-block; color: blue; }

      common elements inside each one, recommend adding each of the same styling inside its own class/section and make each different things the same. EX: card-four span {display: inline-block, padding: 10px;}

    1. contact.html assignment c 6 days ago index.html assignment c 6 days ago services.html assignment c 6 days ago style.css assignment c 6 days ago

      There are things that need to be adjusted, somethings don't make sense. Don't feel discouraged, things will make more sense as you continue!

    1. html {font-size: 62.5% ;} body {font-size: 1.6rem; text-align: center; padding: 40px; background-color:palegreen;}

      recommended to add body, html and * at the top of your CSS

    1. <p> FULL FOIL: $188/$219 with cut<p></p> <p> 3/4 FOIL: $172/$203 with cut</p> <p>1/2 FOIL: $158/$189 with cut</p> <p>1/4 FOIL: $144/$175 with cut</p>

      don't make each list item a paragraph, add a list tag

    2. <h1><u>Our Services</u></h1> <h2><li> Below is a list of services we proudly offer.</li></h2> <p> At Hairpins, we care about the environment and recognize the impact we all have on it. We are continually making strides to reduce where we can and have only aligned ourselves with companies and products we believe in.<p></p> <br> <p> We are proud to be a CERTIFIED GREEN CIRCLE SALON and through that partnership are able to divert 95% of our salon waste from landfills. Get in touch if you have any questions or want to learn more about the programs and charities we are focusing our efforts on.</p> <h3><li>Cuts</li></h3> <p>Range from 45 minutes to 90 minutes</p>

      <ul> is a parent tag of <li> you need to add a <ul> Additionally, in this situation I would recomment not using a list, instead just use the header and paragraph tags.

    1. We are incredibly proud of our diverse team of stylists who greet each client with a smile. We prioritize inclusivity, community, and sustainability, and make sure that everyone who walks through our door feels welcome.<br><br>

      needs a tag

    1. <a href="Contact us today to book an appointment!">

      this doesn't link to anything. you need to make it <a href="contact.html"> This is also duplicate code.

    2. Tel:<a href="(250) 338-7467 ">(250) 338-7467 </a> <br><br> Email: <a href=" salon.hairpins@gmail.com "> salon.hairpins@gmail.com </a><br><br>

      needs to have a tag. <a href="tel:+2503387467">to add a telephone, <a href="mailto:salon.hairpins@gmail.com"> to add email

    3. <p> Monday ~ Closed</p> <p>Tuesday 9:00am ~ 5:00pm</p> <p> Wednesday 9:00am ~ 8:00pm</p> <p> Thursday 9:00am ~ 8:00pm</p> <p>Friday 9:00am ~ 5:00pm</p> <p>Saturday 9:00am ~ 4:00pm</p> Sunday ~ Closed

      Recommended to make it an <ul>. If you were to use a <p> only use one for the entire section, and add <br> inbetween each item. Not efficient to do this however.

    4. Hairpins Boutique Salon #4 - 224 6th Street Courtenay, BC V9N 1M1 Check us out on Google Maps <a href="https://www.google.com/maps/place/Hairpins+Boutique+Salon/@49.6904218,-124.9971279,15z/data=!4m2!3m1!1s0x0:0x859b2cfce3bc31ea?sa=X&ved=2ahUKEwiYi_2Ex6T6AhXNMjQIHYkoCUUQ_BJ6BAhSEAc)">https://www.google.com/maps/place/Hairpins+Boutique+Salon/@49.6904218,-124.9971279,15z/data=!4m2!3m1!1s0x0:0x859b2cfce3bc31ea?sa=X&ved=2ahUKEwiYi_2Ex6T6AhXNMjQIHYkoCUUQ_BJ6BAhSEAc)</a>

      needs to have a tag

    5. Questions, comments, ready for a new do? We look forward to hearing from you! If you're looking to make an appointment online, please do so here.

      needs to have a tag.

    1. <p>We require 48 hours' notice for any cancellations. If you are a “no show”, you will be required to pay for your missed service in full in order to rebook. If you cancel with less than 48 hours' notice, you will be required to pay for 1/2 of the service you canceled in order to rebook. We understand that last-minute things happen! We will address each situation on a case-by-case basis. Please communicate with us and we will try our best to help. We appreciate your understanding.</p>

      could make this a <small> if you wanted. I think?

    1. <a href="https://www.google.com/maps/place/Hairpins+Boutique+Salon/@49.6904218,-124.9971279,15z/data=!4m2!3m1!1s0x0:0x859b2cfce3bc31ea?sa=X&ved=2ahUKEwiYi_2Ex6T6AhXNMjQIHYkoCUUQ_BJ6BAhSEAc">Check us out on Google Maps</a></p>

      Google has an embedded maps you can add, google maps>click on the share button>click on the embed a map tab and copy the code.

  3. Sep 2022