✅ Check out Dave Gray's YouTube Channel with all of his wonderful tutorials.
Description:
Learn how to build a TinyPNG Clone with Javscript. TinyPNG and TinyJPG are great dev tools for compressing images. In this Javascript project tutorial, we'll use a Serverless Function for image compression. Our clone will actually improve the compression rate!
Modifications:
- Simplify the calculation in
handleFiles
andgetFileSizeString
functions - Simplify the IDs used in
createResult
function - Remove unnecessary id for p2 in
createResult
function - Implementing Upload/Download progress by using
XMLHttpRequest
Object instead of thefetch
API
If you have completed Dave's 8 hour JavaScript course tutorial video, this is a great additional tutorial to build on those lessons.
YouTube: How to Build a TinyPNG TinyJPG Clone with Javascript
DO NOT COPY FOR AN ASSIGNMENT - Avoid plagiargism and adhere to the spirit of this Academic Honesty Policy.