creating a canvas
im trying to create a canvas but i cant figure out how to get the context
if you have any suggestions please comment down below.
You'd either want to change the id of the canvas html to
"gamescreen". Also, if you are a beginner, it would be better to change the
let statements to
What that does is allows you to access the variables easier, instead of just on that script link.
Please upvote if this comment was helpful in any way. Thanks!
@Nanowrimoijk I may not know much about HTML (I only know python and a tiny bit of HTML and Ruby) I am definitely seeing a canvas here:
This file cannot be displayed: https://storage.googleapis.com/replit/images/1543440638872_df76c2c13be75a7ba319d4774d2fc990.pn
If I have misinterpreted the question, I am sorry.