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 | kewl (hyper_racer) |
Race Number | 17 |
Date | Thu, 1 Nov 2018 16:18:59 +0000 |
Universe | code |
Speed |
24 WPM
![]() |
Accuracy | 91.2% |
Rank | 3rd place (out of 3) |
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
|