<h3 id="data">Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptates, recusandae.</h3>
<button onclick="HideShowFunction()"> Hide Show </button>
<script>
function HideShowFunction() {
var x = document.getElementById("data");
if (x.style.display === "none") {
x.style.display = "block";
} else {
x.style.display = "none";
}
}
</script>