Treehouse: Grow your CSS skills. Land your dream job.

How to display if a store is open / closed

  • # February 28, 2013 at 7:16 pm


    here is something that I was wondering how to do. Does anyone know how can I make the icon green if a store is open and when its close an icon red.

    Like you have : Work time 8am- 23 pm an when its past 23 pm image aligned left would go red for example.

    If there is some sort of php needed for this to happen I would love if you would atleast link me to some helpfull article about it.

    # February 28, 2013 at 8:52 pm

    The search shows many results. The first one looks good.

    javascript show image at time of day

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.