firstly, why does everyone keep saying "is this my homework?".
I may come across foolish, but im just starting off in this game.
The circuit does have a point,
im going to replace the light in my car glove compartment. Im going to mount the switch where the glove compartment door closes, so that when its pressed, no light will be on.
When the switch is open the light will be on.
My circuit inverts the output of the switch and turns on a super bright led.
I will take the 10ohm resistor out.
I thought that the 9v battery would power my light for longer?
thanks