No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I am a high school student very interested in learning to program my own video games in the future, currently I am learning java script through the school I am in.
- Interests
- programing
I was wondering how you would make a grid in a javascript canvas, a 10 pixel by 10 pixel grid for a game I am making thank you for your response. |
|
I am new to coding and im having trouble with arrays in javascript. I want to be able to compare stuff inside an array but only if the three values match up to one of the sets of three values in the array var array = [[1,2,3][4,5,6][3,6,7]] if(array.indexOf([1,2,3]) === 1){ … |
|
how would I add text that the viewer could see and not just to the console as well as it not getting rid of the other text on the page? <!DOCTYPE html> <html> <head> <title>help me</title> </head> <body> <p>this is a line of text</p> <p>this is another line of text</p> … |