Learn Basic CSS by Building a Cafe Menu - Step 64

Building a cafe menu: Step 64
Greetings everyone!

I’m writing this post to ask help regarding the step 64 in creating a cafe menu. I’ve been trying to complete it right for hours already, it says that I have to nest anchor element to link url to the text, however I’m not able to make it right. Can you help me with this matter? It is highly appreciated! thank you :slight_smile:

  <footer>
    <p a href="https://www.freecodecamp.org">Visit our website</p>
  </footer>

If you need help with a specific step, it’s always best to click on the Help icon, which appears after you have submitted incorrect code three times.
This creates a forum post which includes your full code, a direct link to the challenge and an opportunity for you to explain your issue fully.

In this case, I can see the issue in your code however.

If you want to turn text into a link (inside a p element) here’s an example of the syntax:

<!-- text without link -->
<p>Please visit my website for awesome content</p>

<!-- 'my website' turned into a link -->
<p>Please visit <a href="example.com">my website</a> for awesome content</p>

Essentially, just like most other elements, the anchor element needs a pair of opening and closing tags.

2 Likes

Still not working !!!

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.