Why it worked
The video uses a relatable and humorous scenario (submitting bad code for review) combined with a popular meme format (Pedro Pascal eating a sandwich) to create engaging content.
Summary
A person is shown eating a sandwich while looking anxious, with code displayed on a screen behind them. The on-screen text humorously describes the feeling of submitting flawed code for review.
Structure
- 1Person eating sandwich
- 2Code displayed on screen
- 3On-screen text about code review
- 4Anxious expression
On-screen text
return
div class="classes.profile_items">
<div class="classes.profile_pic_container">
<img class="classes.img_container"
src="/assets/images/profile"
alt="profile"
/>
</div>
<div class="classes.profile_name">
<span class="classes.profile_text">My Profile</span>
</div>
</div>
<ul class="classes.profile_list_container">
<li class="classes.list_item">
<span class="classes.profile_text">My Profile</span>
</li>
<li class="classes.list_item">
<span class="classes.profile_text">Settings</span>
</li>
</ul>
DEBUG CONSOLE
TERMINAL
json 1.52 KiB (emitted)
(javascript) 2.21 MiB (asset) 28.3
nav/Profile.js 10.8 KiB (built)
nav/Profile.js
'isPending' is assigned a value but never used
src/components/nav/NavProfile.js
'isPending' is assigned a value but never used
webpack 5.67.0 compiled with 1 warning in 499 ms