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 trialTherisa Campbell
1,873 PointsNewbie going through html/css, what would be a reason to set a website to refresh every 30 seconds? Not sure the purpose
I've been going through my css and html, and I've noticed a few developers doing it but not sure what is the true purpose for refreshing the web page very few seconds, Just need a little curious
2 Answers
Steven Parker
231,261 PointsThis might be done if the web site contained some rapidly-changing information, such as airline fight arrival time updates, or a webcam image.
But there are more elegant ways to to refresh page information other than a full reload. See the courses on AJAX and Fetch.
Therisa Campbell
1,873 PointsPerfect. Thanks