Challenge 4: Challenge CSS

September 23rd, 2024

Individual

  1. No need for <> around main
  2. No need for a closing </main>
  3. Body needs {} not [
  4. “4” randomly placed on line 35
  5. Line 52 is not appearing as a comment
  6. Line 36 starts with a colon and “hover” in the beginning
  7. Aside has a “.” in the beginning on line 17
  8. Header has a “.” in front of it on line 67
  9. In main margin top and bottom are missing px
  10. In main padding right and left are missing a % sign
  11. What is the # in line 29
  12. :active? (line 54)
  13. :visited? (line 59)
  14. Misspelled height in line 46


Class

  1. CSS misspelled (CSC)
  2. No angle brackets around main
  3. Using a specific typeface
  4. Width needs to be a percent
  5. Margin bottom doesn't have a unit of px
  6. Margin top does not have px
  7. Padding right doesn't have %
  8. Padding left doesn't have %
  9. Display diamonds is not a thing
  10. Body needs curly brackets not square
  11. Number 4 is an error
  12. Background color needs 6 characters (#444444)
  13. Don't use px for font size
  14. Height misspelled
  15. Width doesn’t belong in h2
  16. Width can not be capitalized
  17. H2 doesn’t contain any type properties that it needs
  18. Float is not needed
  19. Line 50 is not appearing as a CSS comment but as an HTML
  20. Body is out of place
  21. #ffffff
  22. “.” makes a class div