Earth Day Frontend Challenge
Rebeccca Peltz

Rebeccca Peltz @rebeccapeltz

About: Application Developer

Location:
Seattle
Joined:
Nov 22, 2018

Earth Day Frontend Challenge

Publish Date: Apr 24 '24
9 4

code
demo

Earth Day Challenge Frontend

Dynamically Inserting Video/Image

I used JavaScript to dynamically insert a Video on 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.

Comments 4 total

  • Sojin Samuel
    Sojin SamuelApr 24, 2024

    But isn't Javascript not allowed

    • sahra 💫
      sahra 💫Apr 24, 2024

      JS is allowed for "Glam my markup" submissions.

    • Rebecca Peltz
      Rebecca PeltzApr 25, 2024

      I think it's only not allowed for the CSS Art challenge.

  • Happily.ai
    Happily.aiApr 25, 2024

    Pretty nice

Add comment