MCPcopy
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / addHearts

Function addHearts

assets/js/fruitSlicer.js:70–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68 //fill trialLeft box with hearts
69
70 function addHearts() {
71 $("#trialsLeft").empty();
72 for (i = 0; i < trialsLeft; i++) {
73 $("#trialsLeft").append('<img src="../assets/images/bomb.png" class="life">');
74 }
75 }
76
77 //start sending fruits
78

Callers 2

fruitSlicer.jsFile · 0.85
startActionFunction · 0.85

Calls 2

emptyMethod · 0.80
$Function · 0.70

Tested by

no test coverage detected