Questions & Answers about Ne menj a könyvtárba, mert ma nincs nyitva.
Because ne is used to negate a command, request, or prohibition.
- Ne menj... = Don’t go...
- Nem mész... = You are not going... / You don’t go...
So:
- nem negates a statement
- ne negates an imperative or subjunctive form
That is why Ne menj a könyvtárba is correct for Don’t go to the library.
Menj is the imperative form of the verb menni (to go) for te (you, singular informal).
Compare:
- mész = you go / you are going
- menj = go!
So:
- Mész a könyvtárba. = You’re going to the library.
- Ne menj a könyvtárba. = Don’t go to the library.
This verb is a little irregular, so learners usually just have to memorize that the imperative of menni is menj.