Check your fuse box. It's quite common for a dryer to have two circuit breakers, one for each 120V leg, making a total of 240V going to the dryer. If one of those breakers has tripped but not the other, then your dryer can be getting 120V, which is enough to power the electronics and the motor, but not enough to run the heat.
If you have a voltmeter, measure the power at the plug to verify you're getting somewhere between 220 and 240 volts to the dryer.
Once we know your model number we can give you more information on things like whether there are multiple thermal fuses that you might need to check, etc.