every repair can be made by either removing the rear panel or the front.
If this is what you are trying to do, start with the front panel. On many models today, there will be two screws that hold the front panel in place, ususally not in plain sight, because they are concealed by the fact that they are along the bottom edge of what otherwise appears to be a decorative lip or trim. If you find those, remove them, and the front panel should swing out, and you should then be able to release it from the clips at the top of the panel. Before doing this, make sure that the breaker or fuse panel is switched OFF, the fuses are pulled, or that the dryer is otherwise de-energized.