x == y x and y are equal
x != y x and y are not equal
x > y x is greater than y
x >= y x is greater or equal to y
x < y x is less than y
x <= y x is less than or equal to
A single = is an assignment operator. So in your case you are assigning Yes to web_visible which returns true (because the assignment went correctly) which cause it to set it back to No.
I still do it regularly
I tend to turn on the debugger when i can’t figure it out. It really helps to see what sits inside your variables and into which if’s are branched