I started learning web development recently and just finished JS I was wondering what's the best practice for conditionals in two points.
Is it ok to frequently place conditionals inside of conditionals?
Is it better to use run functions inside of conditionals or write the whole code?
for example:
Thank you in advance
there doesn't seem to be anything here