I suspect the problem either lies with you or the company you worked at, because AI absolutely sucks at frontend development.