Learn Basic CSS by Building a Cafe Menu - Step 14

Tell us what’s happening:

i don’t know how to solve it

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
      h1, h2, p {
        text-align: center;
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
/* file: styles.css */

/* User Editable Region */

<style file="styles.css">h1,h2,p

/* User Editable Region */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36 OPR/

Challenge Information:

Learn Basic CSS by Building a Cafe Menu - Step 14

External CSS Stylesheets – How to Link CSS to HTML and Import into Head
Start by rewriting the styles you have created into the styles.css
put all the styles in a separate file and link to it.

Welcome to the community @raniahannanmy !

[quote="raniahannanmy, post:1, topic:650575"]
  h1, h2, p {
    text-align: center;

Above is how we begin this step.

It is asking us to copy only the complete code, as it is, from within the style element.
We then paste it on the blank line provided in the new CSS file.

We are able to access the CSS file at the top of the instructions.

I hope this helps you!

Happy coding!

1 Like

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