• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Dokkio Sidebar (from the makers of PBworks) is a Chrome extension that eliminates the need for endless browser tabs. You can search all your online stuff without any extra effort. And Sidebar was #1 on Product Hunt! Check out what people are saying by clicking here.


Lecture-jQuery-Firefly Cards Game with JSON

Page history last edited by Dr. Ron Eaglin 7 years, 9 months ago


Firefly Cards Game with JSON




Lecture - jQuery Card Game - Serenity - Part 1 of this series

Lecture - Javascript - JSON - What is JSON




Removes the hard coded object data from the jQuery to an external file and then retrieves this file.





Reference Materials


http://jsfiddle.net/reaglin/odnqk9vv/ - JSFiddle of Code

http://api.jquery.com/jquery.getjson/ - Documentation for JSON

http://jsonlint.com/ - JSONLint validator for JSON



Additional Information



    "cards" : [{ 
        "name": "Mal"
        "name": "Zoe"
        "number": "4",
        "name": "Book"
        "number": "5",
        "name": "Simon"
        "number": "6",
        "name": "River"
        "number": "7",
        "number": "8",
        "name": "Inara"
        "number": "9",
        "name": "Wash"}]





COP 4813 Lectures

Comments (0)

You don't have permission to comment on this page.