This document presents research on developing an AI model to predict learning styles for primary school students in an online learning environment. The researchers created an AI model within an online learning portal that recommends educational materials tailored to each student's preferred learning style. They developed a novel AI strategy using collaborative filtering to enable the model to independently predict learning styles. The model was tested on Indonesian elementary school students and showed improved performance over traditional matrix factorization-based models. The researchers conclude that accounting for individual learning preferences through personalized recommendations can improve student engagement and test scores with online learning platforms.