You seem to have added a second anchor element. You don’t want to do that. The only thing the instructions are asking you to do is add the target attribute with a value of _blank. You have already added a src attribute to the img element. And you have already added the href attribute to the anchor element. Adding a target attribute follows the same pattern.
An opening tag can have more than one attribute. Just add the new one after the existing one. Or before the existing one. Order does not matter when it comes to attributes.
Please can someone help me with this! I have tried following the attribute tutorial and I am still entering the wrong code! I cannot move forward and I and becoming quite frustrated!
You will need to show us what you have tried by pasting your HTML in here. To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key. You may also be able to use Ctrl+e to automatically give you the triple back ticks while you are typing in the this editor and the cursor is on a line by itself. Alternatively, with the cursor on a line by itself, you can use the </> button above the editor to add the triple back ticks.
Then you can use one of the two alternative methods I described:
“You may also be able to use Ctrl+e to automatically give you the triple back ticks while you are typing in the this editor and the cursor is on a line by itself. Alternatively, with the cursor on a line by itself, you can use the </> button above the editor to add the triple back ticks.”
I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
Posting pics of code is generally frowned upon here. In this case we can tell what the problem is because this is a simple issue. But you should not get in the habit of doing it. Use one of the methods I explained above to paste your actual code in here from now on.
Look at how you added the href value to this link. Do you see an equal sign separating the attribute name and its value? You need to do the same thing for the target attribute.