Jump to content

emekadavid

Members
  • Posts

    1
  • Joined

  • Last visited

emekadavid's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. I have been trying to write a photo gallery with text accompanying it at the bottom. Photos and text will change with each click. I tried using an input tag as child of form tag with javascript code and it worked. But the input tag is interactive and allows only one line. By the way, it doesn't respect the <a> tag for crediting the photos. Therefore, I have been trying my hands on the figure element which will take the image tag and figcaption tag for photo and photo description. But, I cannot write the javascript. can anyone show me how? I wonder why the input tag is easy but figure and figcaption is difficult? Thanks
×
×
  • Create New...