r/javaScriptStudyGroup • • Jul 27 '21

Internationalization in Plain React.js

Thumbnail
blog.decipher.dev
2 Upvotes

r/javaScriptStudyGroup • • Jun 27 '21

okay i guess this is basic on classes but am learning, why is this variable undefined in the bottom code but it's working in the top

2 Upvotes

so i copied the code of a mempory game am just changing what happens after you lose or you win, divs add and remove classes to light or darken the divs, after line 436 on the whole code its my added code, the problem as far as the console is this

this.colores.amarillo.classList.add("light"); is undefined

it points to a specific div, this same code is used lines above to choose color and show sequence, and it works, but when you lose or win it doesnt work, i have one other callback fucntion after you win , this one (ganoJuegoJ is to appear a big div annuncing the win, it show the div bit it doesn't trigger the callbakc function to make it disapear

the whole game is inside a class, maybe it has something to do with binding a specifric function to this, but i dont have that clear at the moment

here is the whole code:

https://github.com/moorooba/simon/blob/master/simonmineclass.html


r/javaScriptStudyGroup • • Jun 10 '21

Android Apps To Learn Java Language

2 Upvotes

So, you decided to study Java, even chose a course to take, but here it turns out that you have an extremely busy schedule, and it is very difficult to open a laptop and start learning something. If the situation seems very familiar to you, then the best option for you is to switch to the course, which is presented not only on the desktop, but also in the mobile version.

There are very good platforms on Android that can help you learn Java programming. So, let's talk about these apps.


r/javaScriptStudyGroup • • May 31 '21

Chrome Extension Interval Timer (Time-Boxing)

2 Upvotes

First time touching Chrome Extensions. Let me know if there are any obvious errors!

------------------------------------------

Video: https://youtu.be/jN8c1lD7qyg

GitHub: https://github.com/LexingtonWhalen/ChromeTimer

NOTE: I have yet to add styling. It works fine, but will look prettier within a bit. Keep your eyes peeled!

What is it?

* An interval timer chrome extension.

* Two linked timers (dual timer)

* When one done, the next goes, repeat until no more rounds.

* For example, can set 30 minutes, then when done 15 seconds, repeat 3 times. * In timer-speak: timer01 30 min, timer02 15 sec, rounds = 3.

* Good for timeboxing: https://en.wikipedia.org/wiki/Timeboxing

Ideas for Improvement:

* Clean it up, make it pretty, package it for Chrome extension store!

Features:

* Is a dual timer!

* When one timer done, sound played and next timer starts!

* Keeps going even when popup window closed!

* When all rounds complete, plays song!


r/javaScriptStudyGroup • • May 31 '21

How To Create A Simple Web UI To Manage NodeJS Process With PM2 API?

Thumbnail self.expressjs
2 Upvotes

r/javaScriptStudyGroup • • May 30 '21

Getting Started with React Hooks

Thumbnail
piyushsinha.tech
2 Upvotes

r/javaScriptStudyGroup • • May 03 '21

ASYNC AWAIT HELP PLEASE

2 Upvotes

Hello please i have an issue i am facing with my project

i have an async function below that reads a file and if the file doesn't exist the catch block handles it. the function works fine

lib.read = async function (dir,file){

try{

await fs.readFile(lib.baseDir+dir+'/'+file+'.json','utf-8')

}

catch(error){

console.log("file doesn't exist) }

}

now i want to create users with each user having a file name so i want to use the function above to check whether the user being created exist's already and when the function triggers the catch block it means the user doesn't exist already and then i can proceed to create the user. Problem is i can't manipulate the to get a response from the catch block that i can use in a conditional to proceed. If i was using a callback i could have returned error and use the error in my conditional but due to callback hell i am not using callback . Please help if you can


r/javaScriptStudyGroup • • Apr 27 '21

JavaScript Study Topic: Practical Usage of Closure in JavaScript

2 Upvotes

Closure is a very important concept that every JavaScript developer should understand. This post will cover some of the practical use of closures.

  1. Private variables and methods

  2. Function factories

Blog: https://www.sudipta-deb.in/2021/04/practical-examples-for-javascript.html

Note - I am sharing all my JavaScript Certification study notes below. Please provide your feedback if you see anything wrong or missing. Appreciate your help.

https://www.sudipta-deb.in/p/salesforce-javascript-developer-i-study.html


r/javaScriptStudyGroup • • Apr 21 '21

JavaScript Topic: Understanding JavaScript Closure

2 Upvotes

JavaScript Topic: Understanding JavaScript Closure

Closure is a very important concept that every JavaScript developer should understand. In the post, I will provide a quick introduction of closure and then, I will be focusing on examples so that it will be easier for you to understand this concept.

https://www.sudipta-deb.in/2021/04/understand-javascript-closure.html


r/javaScriptStudyGroup • • Apr 13 '21

Understanding JavaScript Variable Declaration with Scope - Let vs. Var vs. Const

2 Upvotes

Topic: Understanding JavaScript Variable Declaration with Scope - Let vs. Var vs. Const

Scope is the concept that manages the accessibility of the variables. At a very high level, the accessibility of the variable is limited to the block where they are defined. Outside the block, the variable is inaccessible.

In this post, I am going to explain different ways of declaring variables in Javascript and their impact on scope.

https://www.sudipta-deb.in/2020/07/understanding-javascript-variable.html


r/javaScriptStudyGroup • • Apr 13 '21

Functional Programming In JavaScript/TypeScript for Beginners

Thumbnail
blog.decipher.dev
2 Upvotes

r/javaScriptStudyGroup • • Apr 07 '21

React JS & Bootstrap 4 | Build Portfolio App

Thumbnail
youtu.be
2 Upvotes

r/javaScriptStudyGroup • • Apr 06 '21

Quick Reference of Arrow Function in JavaScript

2 Upvotes

Arrow functions, sometimes referred to as Fat Arrow is a new concise way of writing functions. They utilize a new syntax, => which looks like Fat Arrow. Arrow functions are anonymous and change the way this binds in functions. By using arrow functions, we can avoid typing functions and return keywords and also curly brackets.

In this blog post, I have shared how to write Arrow functions, syntax, use cases.

https://www.sudipta-deb.in/2019/02/quick-reference-of-arrow-function-in.html


r/javaScriptStudyGroup • • Mar 29 '21

Everything you should know about JavaScript | Breaking a Loop

Thumbnail
blog.decipher.dev
2 Upvotes

r/javaScriptStudyGroup • • Mar 23 '21

Js help please! I’m not sure what happened but all of a sudden this bit of code is causing an error...what does it mean?

Post image
2 Upvotes

r/javaScriptStudyGroup • • Feb 27 '21

A experiment on programming in reactive style. Ask for comment. Share. Ask for hobbyists to experiment together.

Thumbnail
github.com
2 Upvotes

r/javaScriptStudyGroup • • Feb 13 '21

Hey guys, checkout the video on creating toast notifications using Bootstrap 5 .

Thumbnail
youtube.com
2 Upvotes

r/javaScriptStudyGroup • • Jan 16 '21

Build a colors App With React | React Tutorial For Beginners

Thumbnail
youtube.com
2 Upvotes

r/javaScriptStudyGroup • • Jan 13 '21

React App-SOCCER(Football)API

Thumbnail
youtube.com
2 Upvotes

r/javaScriptStudyGroup • • Jan 12 '21

Handling Attributes Using JavaScript 🔥

Thumbnail tutorialstonight.com
2 Upvotes

r/javaScriptStudyGroup • • Jan 11 '21

Finding elements in the DOM 🔥

Thumbnail
tutorialstonight.com
2 Upvotes

r/javaScriptStudyGroup • • Jan 10 '21

Modern JavaScript Array Functions Cheat Sheet

Thumbnail
htmlspacecode.com
2 Upvotes

r/javaScriptStudyGroup • • Jan 10 '21

Learn coding a simple React website

Thumbnail
youtube.com
2 Upvotes

r/javaScriptStudyGroup • • Jan 10 '21

Javascript Interview questions 2021

Thumbnail
youtube.com
2 Upvotes

r/javaScriptStudyGroup • • Jan 09 '21

Learn JavaScript Correctly

Thumbnail
htmlspacecode.com
2 Upvotes