I want to print triangular image using javascript. Using HTML it will come like this
All Coupons & Deals ▼
Using JavaScript I did not get an any output
textContent="All Coupons & Deals ▼ ";
I want to print triangular image using javascript. Using HTML it will come like this
All Coupons & Deals ▼
Using JavaScript I did not get an any output
textContent="All Coupons & Deals ▼ ";
Either use innerHTML
(coz that's not a text):
document.getElementById("myDiv").innerHTML="All Coupons & Deals ▼";
<div id="myDiv"></div>
Or try it with the Unicode:
document.getElementById("myDiv").textContent = "All Coupons & Deals ▼";
<div id="myDiv"></div>