Record your races with a typeracer account:
Create Your Account- Save your race history and scores.
- Customize your profile and racecar.
- It’s free, why not?
Race Result Details |
Racer | SIDD ON TRAIN (1a2a) |
Race Number | 7 |
Date | Fri, 23 Nov 2018 22:03:27 +0000 |
Universe | code |
Speed | 75 WPM Try to beat? |
Accuracy | 98.1% |
Rank | 1st place (out of 3) |
Opponents | chakk (2nd place) |
Text typed:
function showContent(dealData) {
var newContent = '';
for (var i in dealData.deals) {
newContent += '<div class="deal">';
newContent += '<h2>' + dealData.deals[i].title + '</h2>';
newContent += '<p>' + dealData.deals[i].description + '</p>';
newContent += '<a href="' + dealData.deals[i].link + '">';
newContent += ' ' + dealData.deals[i].link;
newContent +='</a>';
newContent += '</div>';
}
feed.innerHTML = newContent;
}
— Try, Catch, Finally
(other)
by http://www.javascriptbook.com
(see stats)
|