I have custom html mixed with inline javascript that I want added to my WordPress site, how do I achieve this?

I have custom html mixed with inline javascript that I want added to my WordPress site, how do I achieve this?

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)