I would like to create an alert that passes in information typed in by the user.
<button type="button" onclick="alert('Hello')">Click Me!</button>''''
but instead of "hello" information from a form
<input type='text' maxlength="25" id='first-name' placeholder="First Name">
<script>
var Variablez = document.getElementById('first-name').innerText;
</script>
<button type="button" onclick="alert(Variablez)">Click Me!</button>''''