9

How to add link to image with Javascript?

The question is very confusing. The author has already created an <img> element, added attributes and appended it to another element, yet they're asking how to create an <a> element, add attributes and do basically the same thing.

It's not exactly a duplicate; it's not exactly unsalvageable (at least as far as I'm reading the definition of that category). The comments are trying to be nice and help the author realize they're asking how to do the same thing they just posted code to do.

How should this be handled?

4
  • 1
    This is my first time in the triage queue, so I'm trying to get a handle on it.
    – Shibumi
    May 25, 2018 at 14:57
  • 5
    Note that the skip button is there for a reason. Especially when you're a starting reviewer, you can use it a lot. You can just only review questions where you're sure, and skip the rest.
    – Erik A
    May 25, 2018 at 15:19
  • 1
    That question boils down to "does the link go in the image, or does the image go in the link?".
    – user4639281
    May 25, 2018 at 15:19
  • @ErikvonAsmuth I think that's good advice. In this case, I was trying to spend a bit more time thinking about these options as I'm getting used to how this works. I definitely foresee more skipping in the future.
    – Shibumi
    May 25, 2018 at 15:51

1 Answer 1

10

"Unsalvageable" means that a person other than the OP cannot edit the question to be reasonably scoped or on-topic.

In all reality you have the answer on what you should do here:

The question is very confusing.

Sounds like a straightforward "unclear what you're asking" close vote.

7
  • That seems probably right. That said, from the triage view, I can't really get to that unless I do something that seems very "hacky" and likely a site bug (click Unsalvageable, click Duplicate [flag breadcrumb appears], click back to Closing). From the triage queue, should I just skip it?
    – Shibumi
    May 25, 2018 at 15:53
  • 7
    If you are ever nervous or uncertain about a review, don't hesitate to skip it @Shibumi. It's better to skip than to do a bad review.
    – Makoto
    May 25, 2018 at 15:55
  • I think that's probably the best sentiment. Especially with two people suggesting it :D. Thanks for the response.
    – Shibumi
    May 25, 2018 at 15:55
  • @Shibumi You don't need to click the duplicate close reason. Just click on the should be closed reason to flag a question for closure.
    – Servy
    May 25, 2018 at 15:59
  • @ServyI suppose you're suggesting I just go to the question directly rather than trying to flag from the triage interface?
    – Shibumi
    May 25, 2018 at 16:01
  • @Shibumi: You can do this just fine from the triage queue - you don't have to go to the question proper.
    – Makoto
    May 25, 2018 at 16:18
  • TL:dr this word doesn't mean what you think it means, but something no one could imagine it means (cc @Shibumi)
    – Braiam
    May 25, 2018 at 20:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .