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 | RH (dzaefn) |
Race Number | 4 |
Date | Sun, 28 Oct 2018 21:06:18 +0000 |
Universe | code |
Speed | 43 WPM Try to beat? |
Accuracy | 94.4% |
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)
|