First thing you must understand is that the img element you started out with is now broken.
It used to be something like <img src="something" alt="something else">
and you’ve tried to insert an anchor tag inside it which is a no-no.
To put everything in its place again, click the reset button which looks like an arrow turning.
Now that the code is back to normal, you need to remember that all HTML tags start and end with angled brackets <a href="www.google.com">
This is an example of an anchor opening tag. Notice how it starts with < and ends with >
Be very careful not to forget this rule.
Second is to understand how to make things into a link.
You need an anchor element which means you need 3 things.
The opening tag for the anchor element.
The closing tag for the anchor element.
And the stuff in the middle that will become the link. In this case the img element is becoming our link.
So place the anchor’s opening tag on the left side of the img element (respecting the angled brackets - do not overwrite them!) and place the closing anchor tag on the right side of the image.
If you take care to write correct code and follow these instructions carefully, you will succeed.
If you are still stuck, then post your latest effort here in response.