Return What is this?

Hi. one of my hobbies is photography.


Select an Image

What is This?


1. Formatting (This will be the only page to explain the formatting)

The top bar (header) has 2 buttons. "Return" is for going back to https://www.7182696978.com/projects. "What is this?" skips directly to the "What is This?" section of the page.

Right after that is the beige-colored section of the page. It is the main program.

Finally, at the bottom is this blue-colored section. It's for explaining the program above. All other projects in https://www.7182696978.com/projects will use this exact format.


2. Explanation of Program

a. Today is...

A small window to show the current day. The background image changes depending on the time of day. If it's between 7:00 PM and 6:59 AM, the background switches to a drawing of the Moon. If it's between 7:00 AM and 6:59 PM, the background switches to a drawing of the Sun. Click to see the drawings.

(For programmers, I'm just playing with switch case and if, else if, else.)

b. Select an Image

Select an image and click "Display". I took the pictures myself.

(For programmers, I'm just playing with document.getElementById('').attribute)


3. Miscellaneous

Explaining photos:

  1. Mountain: Photo of Mount Kinabalu.

  2. Sun: Photo of sun during sunset, taken at Kota Kinabalu.

  3. Tree: Tall tree.

  4. Sunrise: Photo of sunrise, taken at a hotel near the sea.

  5. Island: Photo of Plompong Island in Kota Kinabalu.

Last updated on: Monday, 2025-12-08 09:47:52 MYT
Back to top