Tribute Page passing 7 tests.
- div img-div must contain img element
- img must be centred within parent
Here is my code. What on earth am I missing?
Tribute Page passing 7 tests.
@elswise,
When a test fails click the red button to see which test(s) are failing and text to help you correct the issue.
Be sure and read more than just the first line of the failing message. The ability to read and comprehend error messages is a skill youâll need to acquire as a developer. Ask questions on what you donât understand.
On a side note, keep all your styling external. Do not use internal styling.
Iâm moving this to a more appropriate forum for you.
Thanks. Where do I find the forum you move it to?
How do I find the NULL it is referring to?
Error is:
expected null to not equal null
AssertionError: expected null to not equal null
Null means having or associated with the value zero. That means the test cannot find what it is looking for and it doesnât expect that.
The failing message says it is expecting to find an element with the id
attribute set to a value of image
.
Here is your code
<img id="img" src="https://upload.wikimedia.org/wikipedia/commons/1/14/Wrestling_-_Norman_Borlaug.jpg" alt="Norman Borlaug wrestled at university">
Do you understand why the test is failing?
When you click the âNew Topicâ button it defaults to opening the the General sub forum. That would have been okay to use too. I just placed it in the Code Feedback sub forum because youâre working on a project.
The #freeCodeCamp Support sub forum that you originally posted in is for userâs having problems with logging in, certificates, etc.
Eish. I feel so smarrrrt . . . I knew it was something simple.
I saw what I thought instead of what I typed. Silly hey.
Thanks for the (patient) assistance.
No worries. Glad to have helped.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.