Design a Movie Review Page - Movie Rating span

My span element should have ten stars filled with :star: followed by a numerical value in parentheses after the span

I have

Movie Rating: :star::star::star::star::star::star::star::star::star::star:(10/10)

and im not sure why the test will fail under 8.
The span element inside the rating paragraph should have ten stars, either filled in (:star:) or empty (☆), followed by a numerical value in parentheses after the span.

Your code so far

<!DOCTYPE html>
 <html lang="en">
 <head>
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <title>Movie Review</title>
 </head>

<body>
    <main>
        <h1>Movie Review: Shaun of the Dead</h1>
        <img src="https://media.vanityfair.com/photos/5cacb39b474b9022382a8204/master/pass/MCDSHOF_EC025.jpg" alt="Shaun of the Dead 2 Main Characters" width="600px" height="400px">
<p>Favourite Movie for everyone out there. It is a realistic simulation movie about a zombie apocalypse.</p>
<p><strong>Movie Rating:</strong>
<span aria-hidden="true">⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐</span>(10/10)</p>
<p>
<h2>Cast Members</h2>
<ul>
    <li><strong>Simon Pegg</strong> as Shaun</li>
    <li><strong>Nick Frost</strong> as Ed</li>
    </ul>
    </p>
        </main>

</body>

</html>

Your browser information:

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

Challenge Information:

Design a Movie Review Page - Design a Movie Review Page

Hi @taktakthetak

Try adding a single space after the span element.

Also, the last paragraph element is not necessary.

Happy coding

2 Likes

Hi and welcome to the community!
Also, this doesn’t seem right:

You might wanna remove the p element.
Good luck!

Hi @Teller thank you so much that worked! I also fixed the paragraph

2 Likes

Thanks for your good help @JuniorQ it worked out :star_struck:

1 Like

Try adding a single space after the span element. It solved my problem as well. Thanks

Just as an FYI, I have opened an issue for this test.