Pyjamas is the British spelling. If you're sticking with American English, it should be spelled pajamas.
Thanks! Yes, American English is supposed to be the default on this course.
I've changed the default spelling of this word in the sentences of this unit that use it.
(The British spelling will continue to be accepted.)