10/10 Added Improvements when pressing N


Hi all,

I was playing around in 10/10 and added the following two lines just to make the transition look a little smoother so that when N is pressed it hides all descriptions and open the next current one. :smile:

else if (event.which === 110) {
  // ***added this myself to hide the description when moving on to the next current article
  var currentArticle = $('.current');
  var nextArticle = currentArticle.next();
  // ***added this myself to re-show the description once N is pressed and the new current is selected


hard to decipher if not all codes are posted


Hi jhepong, I'll gladly help if I can make it a little easier to understand?