I'm sure an analog of this question has been asked before, but I've spent the last day researching this and I've decided it's time to reach out for some help.
I'm working my way through Electronics for Dummies, 3rd edition. I'm practically finished with my Masters in Computer Science, and this has been the book that I've gravitated towards to break into the world of electronics. There is a specific circuit in Chapter 10 involving a 9 volt battery, two LED's, an NPN transistor, and a voltage divider consisting of a 1 megaohm potentiometer, a 10k ohm resistor, and a 470 ohm resistor (I think the potentiometer counts as part of the voltage divider - please correct me if need be, I really want to learn.)
Even with the pot dialed all the way up (to 1 megaohm), the white light still shines super brightly. I'm not sure if I've setup the circuit wrong - I followed the instructions and the illustrations in the book to the best of my abilities. It's my understanding that the white light can shine, but that it should not be bright, and that it should not brighten until I dial the pot all the way down (to 0 ohms).
When the pot is dialed all the way down, the red LED does come on and shines with respect to the setting on the pot. But I thought there shouldn't be any current flowing between the white LED and the base leg of the transistor (except for leakage?) until the voltage rises by about 0.6-0.7 volts? The white light shining brightly with the pot at 1 megaohm has me concerned that I'm missing a major concept here.
I've checked my resistors with my multimeter, all correct there. I checked continuity between the collector and emitter of the transistor, and there is none - so that should mean the transistor is fine, right? Even the potentiometer is testing fine, from 0 to 1 megaohm.
Any comments or suggestions would be very welcome. Apologies if this is extremely stupid (I have no idea) and thanks to everyone who reads this.
Edit: Answered by StainlessSteelRat below, I had the collector and base legs reversed. Thanks again! =D