My teacher told yes that salt is paramagnetic and it is attracted by magnet slightly. But when I tried that at home it did not work.
Table salt (NaCl) is diamagnetic. For paramagnetism, one needs free unpaired spins. The NaCl lattice is built up from closed shell cations and anion, there is no such unpaired spin pure NaCl.
Also: experimentally it is difficult to measure paramagnetism, and you generally cannot just try it with a magnet and observe it without some tricks.
NaCl is diamagentic. Every material is at least diamagnetic. The diamagnetic influences are very weak, so you can't see them.
Diamagentism: if you have a field H working on a materia, it will change the condition of the particles in the atom of the materia, to create a magentic moment, which is opposite to H. Sigma of all these induces fields is called B. If you have an inhomogene field you have to use a lot of work to create a higher field force of the diamagnet. Genereally the diamagnet want to have a low field force.
The quantumchemistry behind it is easy: the spin of electrons have a magentic moment and creates a field, but because of the Pauli Principle and the thermic move, you wouldn't see it on a macroscopi scale. First by a field outside you would see an induction of the magnetic dipole on an atomic basis.
So if your field is stron enough, you could actually see NaCL moving. But you need a very very very strong field to do it. Andre Geim for example used the diamagnetism of water to levitate frogs.
Paramagnetism: if you take have a magnetic field from outside, the microscopic magnetic moments will will all show in the same direction. But because of the thermic fluctuation the magnetic field would collaps as bald as the magnetic field collaps. The strongness of the field is calculated by:
$M= \chi H$,
where M is the magnetisation of the material, H is the magnetic field and $\chi$ is the suszeptibility.
Ferromagnetism: a material that will be attracted to a pol or is a magnetic itself. It's magnetic because of it's elementarmagnets inside it. The magnetic flux is: $\vec B = \mu \vec H = \mu_0 (\vec H + \chi \vec H) = \mu_0 (\vec H + \vec M)$.