laurenmichelepanken / GA-FEWD

0 stars 0 forks source link

Week 1 Homework #1

Open laurenmichelepanken opened 7 years ago

laurenmichelepanken commented 7 years ago

I had trouble with:

  1. Got questions? Our experts have the answers. Email Me (*hint: use "me@fakeemail.com" google how to do a "mailto" link, this is a bonus)
  2. I'm not sure why some of my bullets were open circles and others were closed circles and they were different sizes.
  3. I'm not sure how to code font and font size
  4. some of my headers were not in line with the other header lines and the code was the same so I wasn't sure why it showed up staggered

Thank you!

RobF1011 commented 7 years ago

Nice job on this for the first homework! Since this, we've learned about the head and body tags. You're probably aware of this now, but if you're putting any styles in the html (as opposed to a separate css file), make sure it all goes in head away from any html tags in the body section.

To answer your questions:

  1. This is how you'd do the mailto link
<p>Got questions? Our experts have the answers. <a href="mailto:me@fakeemail.com">Email Me</a></p>
  1. You get the open circles when it's a second level of bullets under the first. This happened because there was no closing ol tag after the last li on line 93. One of the bullets is smaller because it was used in conjunction with a h6 tag. You'll never want to use any of the header tags with a li. Only use header tags (like h2) as titles/headers and stick to using li with bullets.
  2. Here's how you'd style fonts:
h1 {
   font-family: Arial;
   font-size: 14px;
   color: #333333;
}
  1. This is because of a ul or ol tag not being closed. Both of those indent everything inside of it, so if it's not closed everything else on the page will be indented.

Let me know if you have any additional questions!