Basic CSS

  1. What is CSS and how is it used in web development?
  2. How do you add CSS to an HTML document?
  3. What are selectors in CSS, and how do they work?
  4. What is the difference between class and ID selectors?
  5. How do you create a comment in CSS?
  6. What is the box model in CSS?
  7. How do you apply styles to all elements of a specific type?
  8. What are pseudo-classes? Give an example.
  9. How do you center a block element?
  10. What is the purpose of the display property?

Intermediate CSS

  1. How do you make a website responsive using CSS?
  2. What are media queries, and how are they used?
  3. What is Flexbox, and how does it differ from CSS Grid?
  4. How do you create a CSS animation?
  5. What is specificity in CSS, and how does it work?
  6. How do you use CSS variables?
  7. What is the purpose of the position property, and what values can it have?
  8. How do you style a form to improve its appearance?