Hi I start a new line follower i just ask witch better I use a ir or ldr sensor
An IR LED / Sensor combo like the TCRT5000 would be a decent and cheap solution. LDRs should work too, but typically have higher latency. If you have a very fast bot, then this will become a problem...
Using LDR will be better.