Choose a department and a course number to view a course description


Here's a helpful tip from Garrett:

CTISCourses.departments is array of department objects.
The square bracket in the json file after "Departments" tells you this.

So CTISCourses.departments[0] is the first department.
CTISCourses.departments[0].name is the name of the first department.
CTISCourses.departments[0].courses is an array of courses of the first department.
(There's another square bracket after "courses".)

CTISCourses.departments[0].courses[0].number is the number of the first course of the first department.

Here's a sample of the JSON code he's talking about:

var CTISCourses = {
"departments":
[
	{
		"name": "CIS",
		"courses" :
		[
			{
				"number": "15A",
				"description": "Introduction to programming with C++"
			},