With my current Angular project, I am working with 4 components (comp1, comp2, comp3, comp4). I came across a code snippet for a form consisting of HTML, CSS, and JavaScript that I want to integrate into comp1. Can you please confirm if I should place the HTML form code in comp1.component.html? And do I need to include the CSS and JS codes in app.component.html, or should they be included in comp1.component.css and comp1.component.ts respectively?
I have inserted the HTML code in comp1.component.html, the CSS code in comp1.component.css, and the script code in comp1.component.ts; however, some errors are occurring.