Skip to content

Instantly share code, notes, and snippets.

@fitoria
Created March 27, 2012 23:55
Show Gist options
  • Save fitoria/2221612 to your computer and use it in GitHub Desktop.
Save fitoria/2221612 to your computer and use it in GitHub Desktop.

Revisions

  1. fitoria renamed this gist Mar 28, 2012. 1 changed file with 8 additions and 0 deletions.
    8 changes: 8 additions & 0 deletions felicidades.js → felicidades.html
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,11 @@
    <html>
    <head>
    <script type="text/javascript">
    var felicidades = {message: 'Felicidades', size: 100 };
    felicidades.size = felicidades.size / screen.width;
    document.write("<h1 style='font-size:" + felicidades.size + " ;'>" + felicidades.message + "</h1>");
    </script>
    </head>
    <body>
    </body>
    </html>
  2. fitoria created this gist Mar 27, 2012.
    3 changes: 3 additions & 0 deletions felicidades.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    var felicidades = {message: 'Felicidades', size: 100 };
    felicidades.size = felicidades.size / screen.width;
    document.write("<h1 style='font-size:" + felicidades.size + " ;'>" + felicidades.message + "</h1>");