FrontEnd.ro logo
Deci FrontEnd-ul e doar butoane?
let canvas = document.getElementById("canvas");
let ctx = canvas.getContext("2d");

ctx.beginPath();
ctx.rect(10, 100, 50, 50);
ctx.closePath();

ctx.fill();