I can’t remember the name of this movie it’s about a girl who writes in a notebook and puts it in the library with a riddle of sorts. A boy finds it and solves it and they keep writing to each other and fall in love.
Update: found it, it’s actually a limited series on Netflix called dash and lily. Highly recommended I love it.

Edited question