Helpful video! Thank you for making it. Question: what editor are you using? I would like to get the same for it's hints. Update: I found the answer to my question in your UA-cam "home". The Brackets editor. Nice!
The Bracket's project was abandoned for a while last year. But, I see now it is under development again. I'm glad. It is my favorite. Also, to get the feedback you see on my screen, you have to add some extensions. Here's the video on that: ua-cam.com/video/lUf8WrBr_aM/v-deo.html
Another question: Most tutorials to JavaScript with Canvas have you embed the JavaScript in the .html file. But you have us put the JavaScript in a separate .js file. What are the reasons for doing that? Thanks again!
Great question. Either way works, however there are advantages to separating each language into it's own file: 1) Many debuggers will only work with a file of just one language. Example: The Lint debugger only works on Javascript and won't find bugs in the JS when it is embedded in an HTML file. 2) Modular design. When you write all your code in a separate file, you could conceivably use that code with a different program. Just plug and play. Attach the JS, or CSS to a different HTML file and you have modular design. All professional programmers separate their code into distinct file types.
You need to use an animation loop, to make things move with Javascript and the Canvas element. I have a video that gives a good introduction to this concept. ua-cam.com/video/5otlt9dCbnc/v-deo.html
You can accept input from the user, in Javascript, using the window.prompt() command. You will have to store the input in a variable and then use that variable in the computation to create an ellipse.
Excellent tutorial! I am teaching my kids to code and this is a great idea! Thanks
You're very welcome!
I love you mame, i love you because you are dealing with the viewers that want to learn just like a mom dealing with son ❤️.
Thank you very much, young man. Your comment has warmed my heart. Thank you.
Excellent !
Thank you
Helpful video! Thank you for making it.
Question: what editor are you using? I would like to get the same for it's hints.
Update: I found the answer to my question in your UA-cam "home". The Brackets editor. Nice!
The Bracket's project was abandoned for a while last year. But, I see now it is under development again. I'm glad. It is my favorite. Also, to get the feedback you see on my screen, you have to add some extensions. Here's the video on that: ua-cam.com/video/lUf8WrBr_aM/v-deo.html
Another question: Most tutorials to JavaScript with Canvas have you embed the JavaScript in the .html file. But you have us put the JavaScript in a separate .js file. What are the reasons for doing that?
Thanks again!
Great question. Either way works, however there are advantages to separating each language into it's own file: 1) Many debuggers will only work with a file of just one language. Example: The Lint debugger only works on Javascript and won't find bugs in the JS when it is embedded in an HTML file. 2) Modular design. When you write all your code in a separate file, you could conceivably use that code with a different program. Just plug and play. Attach the JS, or CSS to a different HTML file and you have modular design. All professional programmers separate their code into distinct file types.
How i make motion of car you draw,q0Q for ur bestlecture
You need to use an animation loop, to make things move with Javascript and the Canvas element. I have a video that gives a good introduction to this concept. ua-cam.com/video/5otlt9dCbnc/v-deo.html
I need a command prompt with a canvas so as I type things such as ellipse(x,y,z); it will appear to be a circle
You can accept input from the user, in Javascript, using the window.prompt() command. You will have to store the input in a variable and then use that variable in the computation to create an ellipse.
Thanks.
You're welcome
Grandma?can you gave me the whole code for this?I really need it for our activity tomorrow
Please finish the car
The challenge of the assignment is to see if you can finish it yourself. Good luck!!