Struggling with coding exercise

Under the image, add the following video url and wrap it in <video></video> tags:

I have done the following piece of coding but the exercise doesn’t like it and no matter how much I remove tags etc. it still doesn’t like it?

 <img src="https://s3.amazonaws.com/codecademy-content/courses/web-101/web101-image_brownbear.jpg" alt="A Brown Bear"/>
    <video src="https://s3.amazonaws.com/codecademy-content/courses/freelance-1/unit-1/lesson-2/htmlcss1-vid_brown-bear.mp4"  </video> 

Some help would be appreciated!

Thank you. :slight_smile:

But it seems to have worked as the video has been embedded here? The exercise is saying it isn’t completed!

The video element is a content bearing tag so has an OPENTAG and an ENDTAG. Your opentag above is not closed with a right carat, >.

<video src="..."></video>

The controls and other attributes will be written inside the opentag. Textual content inside the element will render to the display only if the video does not load.

<video src="..." width="" height="" controls>
    Video is not supported on this device.
</video>
1 Like

Thank you so much for your help :slight_smile:

1 Like