Problems with the millis() function

OK. There is a fundamental difference between using delay() and non-blocking timing.
@the experienced users:

The thinking-wrong-about-it starts with writing too short

"use function millis()"

The first thought with this sentence is:

"OK I replace delay() with millis() and then I got it working."

As you experienced users all know. No this is much too less.

And this means a beginner that comes from delay() has to be told

EXPLICITLY

non-blocking timing BASED on millis() works fundamentally different

Here is a tutorial that explains it