Some clear code with comments to help you understand this video!
Hey guys, I've struggled for hours to understand this video because like many of you I also feel like there is a big jump in difficulty compared the video before this one.
I think there are a couple of reasons why this video was hard to understand for me (and probably you too), the code was very hard to read and thus hard to understand. So let this hardship also be a very wise lesson for all us students is to always strive for readable code.
Here is the code that I eventually came up with a lot less short-hand annotations for better readability, added to that I've also placed comments everywhere to help you understand the code even more.
Hope this helps!
Enjoy the road folks, don't let the anxiety get the better of you!
Why for some reasons I can't get my browser to pop up the alert box like it shown in the video? I copied everything out of the video, but had not success.
'''html <p>https://teamtreehouse.com/workspaces/38312602#</p> '''