HTML embed webform not working

I created a webform in campaign builder and tried embedding it. The script embed is working, but I want to be able to style the form, so I used the html embed, and the form is showing up on the page, but when data is entered, it does not get sent to the app, and the form does not redirect to the thank you page. It just returns to the page the form was on and ads the parameters to the end of that page.

the Script embed isn’t formatted correctly, but it DOES get data to the app and it DOES redirect to the thank you page.

Please advise how to fix this problem. Thanks!