i have this HTML page code which works fine but when i try to use it in LWC it doesn\'t works, how to make it work in LWC?