Have actually been trying to use my js code to manipulate my css. Like have been trying to get the value of a element I styled with my css but it not work. Have also tried something like
’ if(the element === the style) {
Do this
} ’
Please can any one tell me what’s wrong
This is one example:
if(document.getElementById("myelementID".style.display == "block"){
Do something
}
else {
Do something else
}
Didn’t pay attention, thanks for rectifying…