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 | tbodt (tbodt) |
Race Number | 1 |
Date | Wed, 2 Jan 2019 03:18:00 +0000 |
Universe | code |
Speed | 58 WPM Try to beat? |
Accuracy | 97.6% |
Rank | 1st 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
(other)
by http://www.javascriptbook.com
(see stats)
|