Skip to content

Instantly share code, notes, and snippets.

Created December 13, 2019 09:44
What would you like to do?
A simple Dom interview question
<h1 id="one">Welcome</h1>
<p>This is the welcome message.</p>
<p>This is the technology section.</p>
<script type="text/javascript">
var text = document.getElementById("one").innerHTML;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment