Are both correct?
Yes, both are grammatically correct although the second one doesn't sound like it would be used much.
'il ne faut pas de sel' would be used in a particular context - someone talking about/describing a recipe for example.
I hope this is helpful.
Bonne journée !
Sign in to submit your answer
Don't have an account yet? Join today
Test your French to the CEFR standard