Improve the solution

solution
Ryan Sobol 8 years ago
parent 2ac097d1ac
commit 50ad6cc1c5
  1. 4
      index.js

@ -29,11 +29,11 @@
}); });
// part 2 // part 2
const handleMouseEnter = function(event) { const handleMouseEnter = (event) => {
console.log(`Entered ${event.target.textContent} button`); console.log(`Entered ${event.target.textContent} button`);
}; };
const handleMouseLeave = function(event) { const handleMouseLeave = (event) => {
console.log(`Left ${event.target.textContent} button`); console.log(`Left ${event.target.textContent} button`);
}; };

Loading…
Cancel
Save