Hi! I’ve finally broke down to ask for help! Any advice will be appreciated.
I can’t figure out why the rest of the tests aren’t passing. It appears as though I’ve met the criteria. Also, my “h1” is stuck to the top of the "welcome section, If I add a top margin to the h1, the whole section moves.
Hi @ScottSager, 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.
The first failing message says;
My portfolio should have a link with an id of "profile-link", which opens my GitHub or FCC profile in a new tab.
Clicking #profile-link should cause a link to open in a new tab : expected 'blank' to equal '_blank'
AssertionError: Clicking #profile-link should cause a link to open in a new tab : expected 'blank' to equal '_blank'
Do you now understand what the test is looking for?
By reading more than just the first line in the other failing tests can you figure out what the tests are looking for?
@parkerjmartin…I was avoiding giving the answer and trying to help the OP discover it themself by thoroughly reading the error message…like I said in my post.
Okay…I do have target=“blank”. Does the issue have something to do with the fraise “click #profile-link”, which is the id, not the link itself?? I’m obviously still confused.
@ScottSager, so your link has target="blank
That is the issue, that’s a syntax error. Not correct HTML.
The test tells you expected 'blank' to equal '_blank'
your margin-top in your h1’s css might be keeping your h1 element out of the yellow header area. Just guessing but just remove its value and see if that does anything.
Hope this was helpful.