Learn Basic CSS by Building a Cafe Menu - Step 13

Task is to “Delete the three existing type selectors and replace them with one selector list that centers the text for the h1 , h2 , and p elements.” I’m not sure where my error is.

<!DOCTYPE html>
<html lang="en">
    <meta charset="utf-8" />
    <title>Cafe Menu</title>

<!-- User Editable Region -->

      h1, h2, p, {
        text-align: center;

<!-- User Editable Region -->

      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>

nvm, I had an extra comma!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.