skip to Main Content

How do I make the selection function more efficient? – Javascript

const canvas = document.getElementById('myCanvas'); const ctx = canvas.getContext('2d'); const overlay = document.getElementById('overlay'); const fileInput = document.getElementById('fileInput'); const titleInput = document.getElementById('titleInput'); const urlInput = document.getElementById('urlInput'); const submitBtn = document.getElementById('submitBtn'); const cancelBtn = document.getElementById('cancelBtn'); const gridSize = 1000; const cellSize = 20;…

VIEW QUESTION
Back To Top
Search