How do I fix my melted stove top?
Many times the element(s) crack and burn up like what happened to you. There are replacement elements for most stoves you need to match the size. To replace unplug the stove and usually there are screws or slip on spade connectors (these spade connectors are special high temp ones) if one needs replaced don't use normal ones from the big box stores, unless they are stamped high temp (I think 900 deg F) The stove should be fine to use just not that burner until replaced.
A link to 1 element not very expensive.