The chivalry code that Gawain strives to live up to is one of loyalty, courage, and courtesy, a code of behavior expected of knights. Throughout his journey, Gawain remained courageous and brave at all times. He felt that honor and valor were important qualities in a knight so he always strived to uphold them.