I'm trying to do the projects in the book to make sure my knowledge on it is good enough before my class. I did the first one with the LED with the switch but it's not working? I've checked with the diagram and it's 1:1. maybe my breadboard is defective? as for the resistor I couldn't find the specific color-coded one so I went with a higher one anyways but not even dim light shows
Start troubleshooting with the simplest setup:
Download a resistor color chart. As mentioned by LarryD, a 10k resistor will likely not work. But a 1k, 470 Ohm, 330, and even a 220 will do the job.
Skip the breadboard.
Just hold the one pin of the resistor and one pin of the LED together with a clip or anything at hand. Then connect the other leg of the resistor to 5V, and the other leg of the LED to GND. If the LED does not light up, reverse the connection.
Next, do the same but on the breadboard.
Finally, add the switch into the circuit.
If you have a voltmeter or DMM, you can measure voltages at various points in the circuit.
Maybe, but with any recently produced LED, it should still be readily visible.
Good idea.
The common problem with these little "tact" buttons is that the pins are too short to connect to the contact fingers in the breadboard. The pins generally have a little "kink" in them to cause them to be spaced up a mm or so from the PCB for which they are designed, and straightening out this "kink" with flat pliers may help.
You should check each component separately for easy debugging. There may be a fused led, broken resistor, higher value resistor, Arduino might not be working etc..