Guide in designing circuit with Solenoid Valve (12VDC and 24VDC) interfaced with Arduino Nano

Here's some of that flat earthers reading:

https://forum.arduino.cc/t/myth-busters-3-myth-you-must-have-a-gate-resistor/172841

It's long, so brew some tea or coffee and put your mobile in DND.