Category Archives: Code Lols

Jokes for code-monkeys, web designers, and 30-year-old virgins

Well, the Problem isn’t Just that You’re Coding for the 90′s

<!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0 Level 2//EN”> <body> <div class=”ass”> <head> <title>You</title> </head> </div> </body>

Posted in XHTML and CSS | Leave a comment

It’s a Pretty Standard Form for Most Projects

<form id=”projects”>  <fieldset id=”upperManagement”>   <input type=”useless”  value=”high” />  </fieldset>  <fieldset id=”requirements”>   <input type=”hidden”  name=”bussinessRules”/>   <input type=”hidden”  name=”browsersInScope”/>  </fieldset>  <fieldset id=”design”>   <label for=”crappyDesign”>Type of Web Design</label>   <select id=”crappyDesign”>    <option value=”gradients and rounded corners”>Web 2.0</option>    <option value=”not usable”>Innovative</option>    <option value=”Only works in … Continue reading

Posted in Code Lols | Leave a comment

The Scope of Your Variable Might Be A Problem

function thisProject(){ var developer = boss || developers; while (developer == developers){ doWork(); progress++; } while (developer == boss){ undoWork(); progress-=2; return “can you fix it?” } } function undoWork(){ for (i= 0; i == progress; i++){ work = deleteThings() … Continue reading

Posted in Code Lols | Leave a comment

Finally the Black Sheep Song Makes Sense

var this = that; var that = this; var youCanGetWith = this || that; while (youCanGetWith !=”this” ||  youCanGetWith != “that”){ this = “where it’s at”; }

Posted in Code Lols, Javascript | Leave a comment

You know you could use the asterisk selector, right?

.this.project:not(.awesome){ font-style: bold; }

Posted in XHTML and CSS | Leave a comment

Some functions are much clearer than others

function managers(){ var opinions = “bullcrap”; body.unload(opinions); }

Posted in Javascript | Leave a comment

the real miracle is in the stack trace

for(int i=1; i < 9; i++) { hanukkahCandle(i).lightCandle(shamash); } courtesy of David Dewell

Posted in Code Lols | Leave a comment

If divs are collapsible, are Ps sinkable?

<p class=”titanic”> .titanic {float:none} Courtesy of @saismo

Posted in Code Lols | Leave a comment

Why yes, I do have some comments

<body> <div id=”body”> <!–body–> <div id=”page”><!–page–> <div id=”wrapper”><!–wrapper–> <div id=”inside-wrapper”><!–inside wrapper. I use this for the wrapper that’s inside wrapper–> <div id=”outer-inside-wrapper”><!–this is the wrapper inside the inside wrapper but outside the inner inside wrapper–> <div id=”inner-inside-wrapper”><!–this is inside the … Continue reading

Posted in Code Lols | Leave a comment

Apple is really getting out of hand

<iFrame src=”http://apple.com” class=”magic”></iFrame>

Posted in Code Lols | Leave a comment