0

Is that correct to use "lead" in the below sentence that I wrote? Should I use another verb like "cause" or "make" instead?

when a user click on it, a couple lines of code, written by back-end developer, execute that lead to download a file.

2
  • You should tell us if you wrote that line or you saw it somewhere. The sentence as it stands is understandable but poorly composed and ungrammatical.
    – Eddie Kal
    Dec 28 '20 at 20:31
  • unfortunately I wrote it!
    – vahid
    Dec 28 '20 at 20:43
2

There are several grammatical errors in your sentence, and I cannot quite work out what your intention is in using the world "lead".

When a user clicks on it, a couple of lines of code, written by a back-end developer, download a file.

or

cause it to download a file.

but I would say that it is the lines of code that download the file, so I would not use "cause".

"A couple lines" is grammatical in some varieties of English (not my own) but it is not standard.

I don't know what your purpose is in saying "written by a back-end developer": the only context I can think of where that would make sense is if this is actually talking about how the user interface is implemented: perhaps that is your point.

You must log in to answer this question.

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