Skip to content

Commit

Permalink
variables fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamjuneja11 authored Oct 22, 2018
1 parent 7f83662 commit e72f1ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions exercises/js/sandbox.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//Add five new list items to the end of the unordered list #myList.
div = $('<div>');
listItem = $('<li>').html('<span>List item<span>');
for (var i = 0; i < 5; i++) {
var div = $('<div>');
var listItem = $('<li>').html('<span>List item<span>');
for (var items = 0; items < 5; items++) {
div.append(listItem.clone());
}
$('#myList').append(div);
Expand Down

0 comments on commit e72f1ce

Please sign in to comment.