JavaScript getElementById keeps returning null
JavaScript getElementById keeps returning null whether I map colorInp to the element itself or the value... Anybody know why SoloLearn doesn't accept getElementById? " <input type='text' id='color'/> var colorInp = document.getElementById('color').value; console.log(colorInp); "