After I uploaded my sketch and it said it was done uploading, it didn't show anything on my display. I have followed all the tips which were given in the chat, but it still didn't work.
It appears the wires are correct. If also uploading works fine, continue to the next step (connect the ultrasonic sensor and upload the sketch given in step 3 of the assignment). Then while task sketch runs, start the Serial Monitor via Tools > Serial Monitor and see whether that displays the values of the distance.
If then the display still not works, read here on how to complete the assignment without the display.