How Can i display only one element

i want to display only one element of the web view i have add this js but it doesnt work

document.getElementsByTagName(‘div’)[0].style.display = ‘none’; document.getElementsByClassName(‘sets’)[0].style.display = “display”;

(sets its the element that i want to be visable "the only element ")
[email protected]!!

Try “block” instead of display

1 Like

its not working

Can you please describe the error properly. So that we can help you?