Tribute Page Test

Hi there, Whenever I run the test for the Tribute Page challenge, I get the following:

* [passes:](javascript:void(0);)  *0*
* [failures:](javascript:void(0);)  *0*
* duration:  *0* s 

Any ideas? as I want to proceed for the next challenge, thank you.

Hi RandellDawson and thanks for your response, please check https://codepen.io/supernoob1968/pen/RwwmJqX?editors=1100.

What browser are you running the test in?

For test #5 you have to change the caption element type to <figcaption>, what you have now is not a valid element (<caption>).

For test #Layout #1, you have to use the correct selector. Your img element has the id of image but your selector is #img. You also have a syntax error on the margin, the values should not be separated by commas.

1 Like

@camperextraordinaire @lasjorg Yes I am actually using Codepen, I have taken your advice, but unfortunately, the same errors occur in Codepen as mentioned above. I have used JS Bin now and have passed the test in Chrome. I have added the <figcaption> and corrected the margin syntax error now (thanks lasjorg) Thank you both for your helpful advice.

Hi @cybernerd! Congratulations for finishing your project and passing all the tests!:clap::clap:

I placed the FCC test script at the end of your HTML code and the tests worked correctly for me:

It probably won’t work for you because you have placed it in Settings / Javascript instead of in the HTML code itself.

Cheers and happy coding!:keyboard::muscle:

1 Like

hi @MartaFagundez many thanks :grinning::grinning:

1 Like