Just remove the Windows 7 drive (to prevent any errors), and boot from your Windows 10 install medium to install Windows 10 on another hard disk. Then depending on which disk you boot from, you're in the OS on that disk.
But it's worth a try to first try a somewhat more elaborate way. Clone your Windows 7 disk to an empty one. Then remove the original one (to prevent any errors), boot into the cloned one (running Windows 7) and run setup.exe from your Windows 10 install medium. Might work and then you have all your programs and settings already available. But no guarantee because of drivers. But when it good enough to install all Windows 10 drivers from the makers site, you're fine. And if not, delete everything from that cloned disk and do a clean install of Windows 10.
Is it possible to install windows 10 onto a harddrive on one of my blank hdds in my windows 7 machine? i ask, bc my hdd on w7 is on is about to crash, and when it does i want to switch out quick, so i was hoping, i could have a hdd with os loaded so when the crash occurs, i could just swap it out.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic