Tell us what’s happening:
I’ve tried everything I can think of using both e.target and e.currentTarget, nothing so far has worked (I always get errors). How do I get the value of the event target?
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: index.ts */
// User Editable Region
function handleInput(e: Event) {
let value = (e.currentTarget.getAttribute("value") as HTMLInputElement);
};
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36
Challenge Information:
Build a Shape Manager - Step 41