Valid CRT-600 Dumps shared by ExamDiscuss.com for Helping Passing CRT-600 Exam! ExamDiscuss.com now offer the newest CRT-600 exam dumps, the ExamDiscuss.com CRT-600 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com CRT-600 dumps with Test Engine here:
A developer creates a simple webpage with an input field. When a user enters text in the input field and clicks the button, the actual value of the field must be displayed in the console. Here is the HTML file content: <input type =" text" value="Hello" name ="input"> <button type ="button" >Display </button> The developer wrote the javascript code below: Const button = document.querySelector('button'); button.addEvenListener('click', () => ( Const input = document.querySelector('input'); console.log(input.getAttribute('value')); When the user clicks the button, the output is always "Hello". What needs to be done to make this code work as expected?