You are browsing as a guest. Sign up (or log in) to start making projects!

52m 2s logged

Sometimes the high-resolution images from NASA take a few seconds to load. Having a blank screen during the fetch looked terrible, so I built a glowing, circular radar loader. I wrote a CSS animation that handles both the rotation and a glowing shadow pulse. In main.js, I added a showLoading state that replaces the container HTML during fetching, removing layout shifts.

0
42

Comments 0

No comments yet. Be the first!