AI Assisted CSS Styling

Instructions

  1. First, look at the CSS selectors in the <style> tag of this page, and make sure you understand each of them.
  2. Use AI to style the book list below.
  3. Have the AI generate at least 3 different versions of the styled book list:
  4. After experimenting with AI:
    1. Choose one version of the AI generated lists and apply the CSS to the book list on this page, but make sure that your CSS only affects the book list and not other elements on the page.
    2. Answer the question under the list.

Books

Question

What are 3 things you learned about CSS from doing this activity? Replace the content in the LI elements below with your answer.

  1. AI can be a useful coding tool as long as you are specific enough when prompting it.
  2. CSS selectors like .book-list li let you target elements inside a section without affecting the rest of the page.
  3. Spacing and readability usually come from small CSS properties like margin, padding, line-height, and border-radius, not “complicated” CSS