CSS Selectors for Embedded Tweets?

I’ve embedded a tweet(containing a video) in my html for a project but I don’t know how to add an id attribute to any of the tags in the embed code.

I’ve tried adding the id to the blockquote and the anchor tags but the tests are not recognizing it. Is there a way for me to add the id attribute or must I get a YouTube video?

The project is the Product Landing Page

Welcome, theAvoCoder.

I am not too sure what you are trying to accomplish. Could you share the link to your project?

Ok

Thank you, for linking that.

The issue is the embed needs to either be an iframe or a video element. So, potentially, you could use an iframe to hold the embed as you are. Or, you will need to get the link to the tweet’s video directly, and use that as the source for the video element.

Hope this helps

1 Like

Thanks a lot! It worked :smiley: