JSFiddle - React, Tailwind, and code Playground

by Ashish Mishra

HTML

<div>Welcome Page
    i am very good ,and hope u will be..
</div>

<p> Want to vanish that and reload, I tried to;</p>
<a>So thats the problem, How can I change Any string in the page witout effecting any features of page?</a>
<script>alert('Here Scripts works');</script>

JavaScript

var str = document.body.innerHTML;
var res = str.replace("Welcome Page","to something you want");
document.body.innerHTML = res;