Chapter quiz · Content & Data

Test what you learned.

8 questions on Content & Data. Pass 70% to clear the chapter.

← Review chapter lessons

Quiz

Content & Data — Chapter Quiz

Eight questions on content collections, schemas, getCollection, MDX.

0/ 8
  1. Question 1
    1

    Where do content collections get defined?

  2. Question 2
    2

    For a folder of Markdown blog posts, which loader fits?

  3. Question 3
    3

    Content collection frontmatter is validated at runtime.

  4. Question 4
    4

    To turn a frontmatter string into a Date, use…

  5. Question 5
    5

    What does await render(post) return?

  6. Question 6
    6

    MDX requires installing @astrojs/mdx.

  7. Question 7
    7

    To declare "this field must be a valid id from the authors collection", use…

  8. Question 8
    8

    To load every entry in the blog collection, call await get_________("blog").

Pick an answer — instant feedback as you go.