Earth Day Frontend Challenge

Earth Day Frontend Challenge

code
demo

Dynamically Inserting Video/Image

I used JavaScript to dynamically insert a Video or larger viewports and an image for smaller view ports. I organized the HTML with flexbox.

There were some challenges organizing the HTML for styling. Thinking about container layouts is helpful when writing HTML.

The video is from Pexels and there is a credit in the code README.

Leave a Reply

Your email address will not be published. Required fields are marked *