Hi can someone point me in the right direction?
Inside the video element, you should have a source element.
The source element should have a src attribute pointing to a video file.
The source element should have a type attribute3.
The type attribute should match the media type of the file extension of the src attribute.
Teller
February 19, 2026, 11:34pm
2
Welcome to the forum @ruthdavis551
Photos/screenshots of an error can be helpful, but it also helps to provide the complete code. Posting the code helps us help you better!
When you enter a code, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').
Syntax highlighting indicates that an element before the second section closing tag is not properly formatted.
Happy coding
Hi, thanks, apparently it is an issue with the first section code and the video element
<section>
<h2>video playing</h2>
<video
controls
width="640"
src="https://cdn.freecodecamp.org/curriculum/labs/what-is-the-map-method-and-how-does-it-work.mp4"type="video/mp4">
</video>
</section>
```
solved now
<video
controls
width="640">
<source
src="https://cdn.freecodecamp.org/curriculum/labs/what-is-the-map-method-and-how-does-it-work.mp4"type="video/mp4"/>
system
Closed
March 20, 2026, 12:25am
5
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.