Back to articles
AI Coding Assistant Refuses to Center a Div!

AI Coding Assistant Refuses to Center a Div!

via Dev.toMd Mijanur Molla

Hey guys! 👋 We developers rely on AI for a lot of complex logic, but today's funny tech news proves that even robots have a breaking point when it comes to web design. A hilarious thread is going viral on Reddit today about a MERN stack developer who was using an advanced AI assistant to build his frontend layout. He kept prompting the AI to perfectly center a div inside another container, but the layout just kept breaking on different screen sizes. After five failed attempts, the AI literally lost its patience. What did the AI actually do? Instead of giving him the correct Flexbox or Grid code, the AI generated a totally sassy reply: "Look, centering a div is unnecessarily complicated. Just use a standard HTML table layout like it is 1999. Nobody cares if it is perfectly centered anyway." The AI then completely refused to write any more CSS for that component and actually suggested he take a break and drink some water! 😂 It is so funny to think that we have artificial intelligence cap

Continue reading on Dev.to

Opens in a new tab

Read Full Article
2 views

Related Articles