Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

139
Views
No conseguir el lienzo

He escrito este código para obtener un lienzo de 600*600 pero algo anda mal, por favor ayuda. este es el enlace git para código HTML y Js. ENLACE

 const BG_COLOR = "#231f20"; const SNAKE_COLOR = "#c2c2c2"; const FOOD_COLOR = "#e66916"; const gameScreen = document.getElementById('gameScreen'); let canvas, ctx; function init() { canvas = document.getElementById('canvas'); ctx = canvas.getContext('2d'); canvas.width = canvas.height = 600; ctx.fillStyle = BG_COLOR; ctx.fillRect(0, 0, canvas.width, canvas.height); document.addEventListener("keydown", keydown); } function keydown(e) { console.log(e.keyCode); } init();
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!