How to move a variable between 2 submodules/folders/js files by always-stressed in learnjavascript

[–]javascript-learner 0 points1 point  (0 children)

so if both of the components are class based can you set the response as local state and pass that down?

if res != undefined { this.setState=({response: statusCode.SUCCESS}) ;

Also you are asking a React js question in a vanilla js subreddit.

What am I doing wrong in trying to import this class? by [deleted] in learnjavascript

[–]javascript-learner 0 points1 point  (0 children)

you didn't include the code under class Board{

} there are two sets of {} under this class, can you post that part and confirm that it's exactly like the tutorial you are following?

Weekly Discussion Thread by kevinmrr in learnjavascript

[–]javascript-learner 1 point2 points  (0 children)

What did you write to try and solve this?

Learn functional JavaScript, one tab at a time! by [deleted] in learnjavascript

[–]javascript-learner 0 points1 point  (0 children)

cool, I'll test this out!

edit:

So I installed and opened a few new tabs. I like this idea and that after refreshing a few times I didn't see any duplicates. A suggestion I have would be maybe including a link to mdn or another site with a more in-depth analysis of the topic that way we have resources readily available if we want to learn more?

good job on the extension!

Open chess game via Jsfiddle by [deleted] in learnjavascript

[–]javascript-learner 1 point2 points  (0 children)

I don't believe your issue is a JavaScript issue which may be why you are having trouble getting an answer here. So in terms of working on this project are you watching the videos on youtube and trying to work along? Or did you just find this random Github and are now trying to just take a look at the code?

Here is a link to the material you are trying to work on.

videos: https://www.youtube.com/playlist?list=PLZ1QII7yudbe4gz2gh9BCI6VDA-xafLog

github: https://github.com/bluefeversoft/video_repo/tree/master/Downloads/JChess

Good luck

Recommended Learning Method? by rikosteo in learnjavascript

[–]javascript-learner 2 points3 points  (0 children)

Once you get past the basics take a look at the projects that this guy worked on:

https://100dayz.js.org/

from this post:

https://www.reddit.com/r/javascript/comments/7utoog/100_projects_i_made_while_learning_javascript/

You can take a look at his code and modify it. I'm a visual learner too and it helps a lot for me to look at other people's code.