Heating element will heat up for a couple of minutes and then go off is this a thermostat issue or something else
payt does not come up are you sure it is not pyet.
Please check it.
Could be the thermostat but the following is more likely
Undo the dryer from the exhaust
Run a load
If the load dries correctly then you have a vent problem.
Clean/check the vent system. Make sure the outside louvers open fully.
If you do not want lint in the house.
Take a pair of pantyhose, put one leg into the other and attach this to the dryer exhaust.
Leave enough room behind the dryer so it can blow out like a windsock.
Run a load.
Both the above will allow you to check the air flow and temp.
Also the above is NOT recommended for a gas dryer due to possible carbon monoxide problems