Learn Basic CSS by Building a Cafe Menu - Step 13

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

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

<!-- User Editable Region -->

h1 {
      text-align: center;
    p{text-align: center;} </style>
      h2{text-align: center;} </style>

<!-- User Editable Region -->

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

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Learn Basic CSS by Building a Cafe Menu - Step 13

Link to the challenge:

Lack of <style tag in section: You must have a <style tag in the section to define your CSS styles. In your code, you have several separate <style blocks, which is invalid.

Well try buddy
This step is telling you how you can select three different elements at one time.

Like below

h2, p, h3 {
property: value;

See how l select three different elements which is h2, p h3.

Second plz wrap all these in single style element.

h2, p, h3 {
property: value;

But you put so many
<style> p{text-align: center;} </style> <style> h2{text-align: center;} </style>

Hope you understand.

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