The brain-computer interface (BCI) and eye-tracking technologies can potentially improve the learning environment in education. Cognitive BCIs can give a deep knowledge of brain functioning, enabling the creation of more effective learning approaches and improving brain-based abilities. This study proposes a neurofeedback strategy based on BCI and eye-tracking to collect factual data (monitoring students' brainwaves and eye movement) and analyze their cognitive capacities during online learning. This study aims to create patterns regarding students' learning behavior based on brain and eye movement responses to learning activities as part of the learning environment. As a result, teachers may adapt to new pedagogical ideas and a more flexible delivery style.