Ajax-loader-large-white
MARC Viewer
MARC21 records

Look in the console. The variable mrc contains a single MARC21 record in .mrc format. The record has been put into a variable so that Javascript can work with it.

Have a look at line 1 and see how much information you pick out about the book. What is the title? Is there a 504 field or did the cataloguer use the 500 field to record the information?

Although bits of the MARC record are understandable as they are, we need to take the record to bits and put it back together again. To do that we first need to understand which bits are in the MARC record.

Instructions

On line 2, use console.log to print the record out in the console.

script.js