And does it matter if the resistor connects to the positive or negative terminal of the battery?
It matters only insofar as it has to make the LED polarity correct. Each of these circuits is equally valid
@moocher started
London Fixed Gear and Single-Speed is a community of predominantly fixed gear and single-speed cyclists in and around London, UK.
This site is supported almost exclusively by donations. Please consider donating a small amount regularly.
And does it matter if the resistor connects to the positive or negative terminal of the battery?