Cranks but won't start
Check fuel pressure, pump may be failing
bad connection with fuel pump relay, bend pins a little to make relay tighter in socket relay gets hot well driving weakens socket and makes bad connection to relay, had problem with both of my cars.
Search Hyundai Elantra Questions
Are you a UK consumer? CarGurus now has a discussion forum in the UK.
Hyundai Elantra Experts