code samples

tj fredrikson

CCA-SA license » license.txt »
  • ajax print

    this simple coding test uses ajax to read in a json string and perform recursive actions on that string producing an output that simulates the output of the standard print_r() function

    demo » download »

  • javascript web service

    this server-side javascript web service uses the REST-API method to handle a request to convert the incoming text string and add meta data about the changes (coming soon)

    demo » download »

  • stanford epgy

    this test was offered by the stanford educational program for gifted youth (epgy) and allows the user to add students and teachers to a database (coming soon)

    demo » download »

  • project euler #1

    add all the natural numbers below one thousand that are multiples of 3 or 5 (coming soon)

    demo » download »

  • project euler #2

    by considering the terms in the fibonacci sequence whose values do not exceed four million, find the sum of the even-valued terms (coming soon)

    demo » download »


1. Identify your toughest problem.
2. Solve it the simplest way possible.
3. Repeat. Kent Beck, eXtreme developer



This site is mobile responsive
(check it out at Am I Responsive)
it is valid HTML5 (see the validator)
and has been tested on many different devices and in many different browsers
(see the Browserstack screenshots)

this site is green


This site was built using the default design provided by
LayoutIt with Bootstrap.js and LESS.CSS
It's written in PHP and follows a loose MVC pattern
It uses JQuery for tabs and Ajax and
reads and writes some of it's data in JSON

Creative Commons License
This work is licensed under a
Creative Commons Attribution-ShareAlike 3.0 Unported License.
© 2013 TJ Fredrikson