angular project ( html , css & js codes )

so in my angular project , i have 4 components (comp1,comp2,comp3,comp4) , i found a code of form (html , css & js ) and i wanna put it in comp1 , so tell me if i’m right or not : do i put the html form code in comp1.component.html ? and do i put the css and js codes in app.component.html or comp1.component.css & comp1.component.ts in order ?

i put the html code in comp1.component.html , the css code in comp1.component.css and js code in comp1.component.ts but there are some errors