The right choice for you is the one you like best not necessarily the one we use.
You need if possible to go and try the bodies to see whether it feels right in your hands. Difficult with older bodies though.
The D40 is an older Nikon consumer entry level DSLR. Now that does not make it a bad choice, however it is quite small and if you have large hands that may be an issue. The sensor is 6MP so will produce nice prints at up to A3 in size. It does not have the high iso range of more modern cameras but unless you are shooting in low light that won't be an issue.
It has no in body motor so only lenses with the AF-S designation for Nikon, HSM for sigma will autofocus. There are however plenty of low cost AF-S lenses available.
That camera is in the USA are you?