From Latin cōdex, variant form of caudex (“tree trunk, book, notebook”); compare caudex (in botany). Doublet of code.
Practice speaking and memorizing "codex" and many other words and sentences in English.