is there an if then else statement on html? for example i want to make a div tag visible on state if the span tag is visible?
<span id=sample1>if this is visible then div tag is visible </span>
<div id=sample2>if span tag with id=sample1 then this is visible </div>
if there's a way way? can you give me a definite example please is a javascript is involve or css. thanks in advance...
<span id=sample1>if this is visible then div tag is visible </span>
<div id=sample2>if span tag with id=sample1 then this is visible </div>
if there's a way way? can you give me a definite example please is a javascript is involve or css. thanks in advance...