Tell us what’s happening:
my tribute page project is still showing 7/10 , i really don’t know whats wrong. please, i need help. Below is the link to my pen- https://codepen.io/Deborah4Jesus/pen/BaLzBGW
Your code so far
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36.
Hey @DANIEL4JESUS,
You shouldn’t remove the script tag(test suite) provided at the start of pen.
Please add it and then, we’ll be able to see the cause due to which, you’re not able to pass the tests.
i have included it. Also, my youtube link- which is a documentary of the character also refused to connect even tho it played externally. could this be one of the problems?
I’m unable to see the test script.
Please, recheck the link you provided, and one you’re editing.
Save the changes, if they’re not saved.
Below is the test script
i have corrected the uppercase, so it climbed to 8/10 and i have checked all other suggested points which seem to be in order. please, still kindly check again. then the external link-youtube refused to play even tho its playing externally.
Reason of not playing the video, is due to same-origin-policy.
Check your browser console, for exact error when you click the image for loading youtube video.
For the last point, you have to align image at exact center of it’s parent element. remember that parent element for your image is anchor tag(#tribute-link) not #img-div
Hi, @DANIEL4JESUS. It’s my pleasure to share my code here.
html file
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<!--
Hello Camper!
For now, the test suite only works in Chrome! Please read the README below in the JS Editor before beginning. Feel free to delete this message once you have read it. Good luck and Happy Coding!
- The freeCodeCamp Team
-->
<div id ="main">
<h1 id="title">My Title</h1>
<div id="img-div">
<img id="image">
<p id="img-caption"> Description of image file</p>
</div>
<p id="tribute-info"> this is the information part of this tribute page</p>
<a id="tribute-link" href = "https://www.freecodecamp.org/learn/responsive-web-design/responsive-web-design-projects/build-a-tribute-page" target = "_blank"
</div>