Apperently, MDN launched an "AI Help". I tried it using one of the suggested questions "How to center a div with CSS?". MDN, are you seriously thinking this is a good idea? This is bullshit! Sure, the answer suggests to use `flex` or `grid` and then **does not use it in its answer**. But we get a lime-coloured div – hooray!

PS: This is how you center a `div` by the way. You can find it on MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/Layout_cookbook/Center_an_element 🙄

#css #ai #mdn #fail

Center an element - CSS: Cascading Style Sheets | MDN

In this recipe, you will see how to center one box inside another by using flexbox and grid. Centering both horizontally and vertically is simple and straightforward.

MDN Web Docs
@nilshoerrmann Did you tell the AI that you don't want a lime div? Tell the AI, I'd like to center a div and I'd like the background to be duck egg blue and the text to be fluorescent green. Can you tell me if this is easy to read?" ;-). That's when AI is fun, when you ask for detailed help and see if it copes.