content

How critical is the site's validity for search robots?

Good afternoon, dear friends. Please tell me (those who understand SEO ), how critical is it to have valid HTML, CSS, JS code ... ing obviously not valid methods (so as not to put crutches in the code) and believe that these are quite acceptable solutions