Why it worked
The video uses a relatable coding struggle (centering a div) and humorously visualizes it with a physical, exaggerated action, making it engaging and shareable within the developer community.
Summary
The video humorously depicts the feeling of centering an HTML element using ChatGPT. It shows a person struggling with a hockey stick, seemingly trying to align it, with text overlaying the action.
Structure
- 1Person holding hockey stick
- 2Person walking and swinging stick
- 3Person attempting to center stick
- 4Person walking away with stick
Product placement
ChatGPT is mentioned as the tool used to achieve the centering, implying it provided the solution to a coding problem.
On-screen text
how it feels centering a <div> using ChatGPT