Moved and went from 3 prong to 4 prong but dryer will only run if the green is touching neutral have tried putting green in the spot of previous ground stap and dryer does nothing
Not clear from the question exactly where the problem is, so here is an overall troubleshooting strategy:
Use a multimeter (if you don't have one, borrow or buy one - it will come in handy plenty of times) to test it. The two straight sockets are hot, the small socket is ground and the "L" is neutral. You should have either ~ 208V or ~ 240V between the two hots, ~ 120V between each hot and neutral, ~ 120V between each hot and ground and 0V between neutral and ground. If any of these value are significantly different, STOP and post more details. If all of these are good then the receptacle is nominally OK. (It could still be wired incorrectly, but in a way that is non-obvious and that wouldn't prevent the dryer from running.)
The cord is normally connected to the dryer with colored wires with lugs connected to screws. Something like this image from Home Depot:
Using your multimeter, check resistance between each prong of the plug and each wire and the metal dryer cabinet. You should have continuity between:
- One of the hot prongs and black
- The other hot prong and red
- Neutral prong and white
- Ground prong and green
- Ground prong and dryer cabinet
If any of those are not showing continuity/very low resistance then check the relevant screw connection.
If anything else shows continuity/very low resistance then you have a problem to be fixed. If that's the case, I would next totally disconnect the power cord from the dryer and check continuity (except, of course ground prong to dryer cabinet) to make sure you have a good power cord/plug. Assuming the cord/plug is itself OK then if you have continuity between neutral and ground then the ground strap is still in place and needs to be removed.
And if all of that doesn't get the problem figured out/fixed, post more details.