The author shares their frustrating experience of deploying a newly rebuilt portfolio website, only to find it malfunctioning upon upload. Despite successful local execution, JavaScript dynamics, like animated SVG elements, failed on the server. After extensive troubleshooting and research, the author discovered that differences in server settings or implementations can impact how JavaScript functions, leading to errors that were not present in the development environment.
I frantically googled things like "What could cause JavaScript to act differently on two servers?" but to no avail.
I created an SVG element that we'll call car... I was setting transforms on car using car.style.transform and it was erroring out.
Collection
[
|
...
]