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="" alt="A Brown Bear"/>
    <video src=""  </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.
1 Like

Thank you so much for your help :slight_smile:

1 Like