Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Amrit Pandey
17,595 PointsAny Suggestions for this effect?
Hi, I was trying smooth page load with effects using jQuery. I did add some effects, however tell me if anything can be improved or not.
My Pen is here: https://codepen.io/iamamritpandey/pen/RVjrQb
1 Answer
Steven Parker
243,134 PointsYou could reduce loading time.
By scaling the images to sizes closer to how they will appear on the page, you can make them load faster.
Amrit Pandey
17,595 PointsAmrit Pandey
17,595 Pointsscaling in CSS or in photo-editor?
Steven Parker
243,134 PointsSteven Parker
243,134 PointsScaling in CSS won't affect the load time. But if you make the actual image files smaller it will.
Amrit Pandey
17,595 PointsAmrit Pandey
17,595 Pointsyes correct thanks