Firstly you need to identify what is on your line 6?
To be more efficient in solving the problem u need to Identify the exact Line with the error.
1st - Qoute
the browser's Error Message
2nd - Qoute
the Lines of codes
involve in the Error Message (altho. sometimes you need to qoute the whole Chunk of codes)
3rd - If you are following the BOOK
closely, please also state the Page No.
4th - Wait for reply from some helpful/resourceful reader.
5th - Dont forget to thank them if they solve your problems
If you dont qoute/pickout the problems what you Posted will be Jibberish and can't be help by others.
Just my 2cents