what is wrong with this ‘blur’ event? why it is not working?

const box = document.getElementById(‘box’);
const text = document.getElementById(‘text’);

box.addEventListener(‘blur’, () => {
text.textContent = ‘Click Here To Give Your Ratings’;
console.log(‘Blur event fired’);`
})