L14 Bubble 2 A-Error with </body> and </html> tags

Favorite Recipes

almond croissant

Almond Croissants

A delicate pastry filled with the sweet nutty goodness of almond paste, dusted with powdered sugar, and baked to a golden perfection.

Ingredients:

  • 1 sheet of puff pastry
  • 1/2 cup of almond paste
  • 1/4 cup of pwdered sugar
  • 1 egg (for egg wash)
sourdough bread

Sourdough Bread

A community favorite, boasting a crusty exterior and a soft, airy interior, embodying the classic sourdough charm .

Ingredients :

  • 1 cup sourdough starter
  • 1 1/2 cups warm water
  • 4 cups bread flour
  • /5
  • 1 1/2 teaspoons salt
carrot cake

Classic Carrot Cake

An homage to tradition and familial bonds, enriched with the natural sweetness of carrots and a crunch of walnuts, it holds a special place in his heart as it was his late grandfather's favorite. Every year on his grandfather's birthday, Denzel bakes this cake to honor his memory and the bond they shared over the love of baking.

Link to the project or level: [See above code]
What I expect to happen: [I expect the & tags to be blue ]
What actually happens: [I’m not sure why the & are in pink/showing an error]
What I’ve tried: [I double checked the code and cant find the bug]

Hi @maguireb,

We’d love to help; however, you’ve pasted the page text but not the code. Can you click the SHARE button for the activity you are writing about, copy the link, and paste it here so we can take a look at the code that might be causing the issues?

~Michelle

Sorry sharing was disabled. Here is the link: https://codeprojects.org/projects/weblab/zr6V-_35KTOUxqtjyGmijf7ZQdASrbQXl4V5HwLNTQs/

Aha. I think I have located the error …

On lines 9, 10 and two more later, the student has opened a div, however, none of those divs were ever closed with a closing div tag… . So, when it sees the closing body tag, it is expecting a closing div tag instead, so it throws that error.

If each container (div) is closed properly, the pink will go a way…

Hope that helps!

Mike

1 Like