OpenLayers how to show long lat after click to map and make visible until next click to map?

asdafsadfsadfasdfsdagdf.

<!doctype html>

.map { height: 400px; width: 100%;