Skip to content

Commit 5e74776

Browse files
committed
Fixed percentage issue with HTML
1 parent 1146a77 commit 5e74776

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
console.log(data);
1414

15-
document.getElementById('sample').style.opacity = data/100+"%";
15+
document.getElementById('sample').style.opacity = data+"%";
1616

1717
});
1818

0 commit comments

Comments
 (0)