Pro
Templates / Tutorials & courses

Code diff fix video template

A pull-request diff that explains a bug: red lines get struck through, green lines wipe in, two notes with arrows point at the lines that matter, then a TL;DR and a merge button. Paste your own before / after lines.

  • Landscape 16:9 · 1920×1080 · 10 s
  • Animated text you can edit
  • Add your own clips, photos and music
  • Export MP4 in HD
Premium template · Included in Pro · Preview it free in your browser
On screen

The words in this template

  • THE BUG → THE FIX
  • why your fetch never resolves
  • fetch() returns a promise — await it, or data is empty
  • check res.ok, or a 404 parses as garbage
  • TL;DR await it, then check ok
  • ✓ Merge pull request
  • posts.js
  • +3 −2
  • async function load() {
  • const data = fetch('/api/posts');
  • return data.json();
  • const res = await fetch('/api/posts');
  • if (!res.ok) throw new Error(res.status);
  • return res.json();

This is the sample text the template opens with. Every line is yours to rewrite.