Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

181
Views
How to code to switch out both text and image based on date and time javascript?

We are running a campaign and would like to switch the text and image each time the tweet goes out on our website page. There are 6 campaigns with text and a photo that we like switch out based on the parameters given. I found a snippet but not sure how this should be written with time added to the code. Can we run the campaign from today's date through ending date (the first one)? Any guidance would be great. Thank you.

I have the code set up in CodePen

`https://codepen.io/jenfloods/pen/xxLJeRe`
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!