javascript error : cannot read property 'style' of null (i run it on chrome mobile browser) : That's how my JavaScript look like

JS:
const secondHand = document.querySelector(".sechand");
secondHand.style.width = "10px";

Can anyone help me?