Question about Lazy Foo's Lesson 01

Right now, I have finished all the steps for Lazy Foo’s Lesson 01, in which my build succeeded and I was able to run it correctly. However, I want to make sure I didn’t mess anything up because when I ran the code, a white window appeared for two seconds, then disappeared (I was expecting the text, “Hello, World” to show up as well). I just want to double check if this snippet of code is meant to create a blank window without any text:

//Get window surface
screenSurface = SDL_GetWindowSurface( window );

//Fill the surface white
SDL_FillRect( screenSurface, NULL, SDL_MapRGB( screenSurface->format, 0xFF, 0xFF, 0xFF ) );
			
//Update the surface
SDL_UpdateWindowSurface( window );

//Wait two seconds
SDL_Delay( 2000 );

Yes that’s exactly what that lesson is for :).