Jump to content


Popular Content

Showing content with the highest reputation on 07/05/2020 in all areas

  1. Try this: <!DOCTYPE html><html lang="en"><head><title> Test Page </title> <meta charset="UTF-8"> <meta name="viewport" content="width-device-width,initial-scale=1.0, user-scalable=yes"/> <!-- link rel="stylesheet" href="common.css" media="screen" --> <style> #Peanuts { font-size: 2em; } </style> </head> <body> <a id="Peanuts" href="" target='_blank'>Todays's Peanut Strip</a> <script> function init() { var tday = new Date(); var link = 'https://www.gocomics.com/peanuts/' + tday.getFullYear()+'/'+(tday.getMonth()+1)+'/'+tday.getDate(); document.getElementById('Peanuts').href = link; } init(); </script> </body> </html>
    1 point
  • Create New...