Build a Recipe Page - Build a Recipe Page

Tell us what’s happening:

The tester of this problem does not recognize head, title and meta elements that are within their containers. What am I doing wrong? Thanks in advance

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head title="Risotto allo Zafferano">
    <title>Risotto allo Zafferano</title>
    <meta charset="UTF-8">
  </head>
  <body>
    <h1>Risotto allo Zafferano</h1>
    <p>Il risotto allo zafferano è un tipo di risotto tipico del nord italia.</p>
    <h2>Ingredients</h2>
      <ul>
        <li>Riso</li>
        <li>Zafferano</li>
        <li>Olio EVO</li>
        <li>Acqua</li>
      </ul>
    <h2>Instructions</h2>
      <ol>
        <li>Cuocere il riso in acqua per 20 minuti</li>
        <li>Aggiungere acqua quando si asciuga troppo</li>
        <li>Impiattare</li>
        <li>Servire aggiungendo olio EVO</li>
      </ol>
      <img src="https://cdn.freecodecamp.org/curriculum/labs/recipe.jpg" alt="Ingredienti necessari">
  </body>
</html>

Your browser information:

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

Challenge Information:

Build a Recipe Page - Build a Recipe Page

  <head title="Risotto allo Zafferano">
    <title>Risotto allo Zafferano</title>
    <meta charset="UTF-8">
  </head>

You are defining the title as both an attribute on the <head> and as a HTML element <title>. One of these is redundant and causing the test to fail.

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