// Get value from text input by ID const textInput = document.getElementById('textInput'); const inputValue = textInput.value; console.log(`Text Input Value (by ID): ${inputValue}`);