How to make the input range slider listen for events on my extension ? trying to make a brightness reducer here

https://snipboard.io/F0c2S7.jpg , i have 2 file js files , one for the popup and one for the content_script . Please help :frowning:

The script file running in the popup page would add the event listener and then use tabs.sendMessage to tell the value to the content script.