thecodezone.
The Code Zone
Short steps, at your pace · Free lessons and practice · Member video walkthroughs
Save your next small win.

Checking your account…

HTML / FREECODECAMP WORKSHOP COMPANION

freeCodeCamp: Build a Video Display Using iframe

Embed an external video page inside an HTML document. Practice iframe dimensions, an embed URL, permissions, referrer policy and fullscreen support.

Cartoon Rob demonstrates the structure and result of Build a Video Display Using iframe.
Conceptual illustration. The workshop itself uses plain HTML and native browser styling.

Which step do you need help with?

Choose any step. You can move freely without completing earlier steps here.

Written guidance is available to everyone. Step videos require a signed-in Code Zone account with video access.

See the topic for each step
  1. Step 1: Name the video display
  2. Step 2: Create an empty inline frame
  3. Step 3: Set the frame dimensions
  4. Step 4: Connect the embedded video
  5. Step 5: Allow the first player features
  6. Step 6: Extend the permission list
  7. Step 7: Set the referrer policy
  8. Step 8: Allow fullscreen viewing

What you will build

Embed an external video page inside an HTML document. Practice iframe dimensions, an embed URL, permissions, referrer policy and fullscreen support.

Follow 8 small changes, from the supplied starter to the finished HTML structure. This workshop focuses on HTML; native browser styling may look plain.

What you will learn

  • h1: Level-one heading
  • iframe: Inline frame
  • width: Width
  • height: Height
  • src: Source attribute
  • autoplay: Autoplay attribute
  • allow: Permissions policy
  • referrerpolicy: Referrer policy
  • allowfullscreen: Fullscreen permission

How to use this companion

  • Build on freeCodeCamp. Keep its workshop open in another tab. Your code, checks and course progress stay there.
  • Come here when you need context. Open the matching step for the task, reasoning, definitions and expected preview.
  • Watch a focused explanation. Member videos show how the instructions become code and what changes in the preview.
  • Try it yourself. Return to freeCodeCamp and run its checks before moving on.

Skills you can use beyond this workshop

Practice translating requirements into small changes, nesting elements in the right place, reading the browser result and checking reliable references. These habits help you understand unfamiliar code without memorizing every element or property.

Ready to work through the workshop?

Choose a step above whenever you need guidance, or start coding in the official workshop.

Independent guidance from The Code Zone, not affiliated with or endorsed by freeCodeCamp. Complete official work and certification requirements on freeCodeCamp. Curriculum checked November 15, 2026. Curriculum source (opens in a new tab).