Do not expect students to learn coding syntax, but rather to be able to find information on it when needed

Having to learn information that is not immediately useful and that is easily available online might deter students. Nobody designs websites without a working internet connection and implicitly immediate access to information about syntax when needed.