Make sure to pick var title followed by = and then document, getElementById("magazine").
var title
=
document
getElementById("magazine")