why my code doesn't work only in Chrome and Safari?

Printable View