课程: Code Clinic: JavaScript

今天就学习课程吧!

今天就开通帐号,24,600 门业界名师课程任您挑!

Solution overview

Solution overview

(chimes) - This solution is a lot like the first problem the we encountered. As a matter of fact, I already built a dashboard in that problem so in this problem I wanted to show you something different. I'm using jQuery instead of regular JavaScript because I did the other solution with the regular JavaScript APIs. So I'm using, for example Fetch in here. I'm going to show you how to do the same things that I did over there by using jQuery. I think this problem lends itself to comparison of what sort of the current way of doing things which is just using the JavaScript fetch API to grab some data and compare it with how jQuery does it, which you'll see is a lot easier. Now we are using the bootstrap progress bars here for things like the pulsometer efficiency and the color status. And I am showing you some minor DOM manipulation. The main difference between this problem and the other one is that in this problem we are working with data that updates every second so we need to use the…

内容