r/javaScriptStudyGroup • • May 21 '21

How to revoke a JWT token? Typescript, MongoDB

Thumbnail self.expressjs
1 Upvotes

r/javaScriptStudyGroup • • May 21 '21

Beginner JavaScript Game w/ OOP

4 Upvotes

Video (1 min): https://youtu.be/5VW3wVLxgTA

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

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

Here is the first actual program I made with JavaScript. I used the new (or at least I believe relatively new) JavaScript classes / inheritance and all that.

Please let me know if there are any obvious improvements possible / any other tricks with these classes that are characteristic of JavaScript.

There's sounds, berries, scoreboard, intro and end screen. Fun!

Don't really know much about game design, but a good way to learn JavaScript for a beginner!


r/javaScriptStudyGroup • • May 21 '21

Image Classification API With NodeJS, TensorflowJS, And MobileNet Model

Thumbnail self.expressjs
4 Upvotes

r/javaScriptStudyGroup • • May 21 '21

How To Start Typescript + Node AWS Function With ServerlessJS?

Thumbnail self.javascripttips
1 Upvotes

r/javaScriptStudyGroup • • May 28 '21

JS ES2021 - It's Almost Here

Thumbnail
piyushsinha.tech
4 Upvotes

r/javaScriptStudyGroup • • Jun 06 '21

What am I missing?

1 Upvotes

After much trial and error, mostly just error, this is what I came up with for a simple escape room.

If someone can tell me what I am missing to get this code working, I'd be forever grateful.

const readlineSync = require("readline-sync");

const userName = readlineSync.question("What is your name?");
console.log("Hi " + userName + "!");
const entrance = readlineSync.question('Shall we start? [Y] or [N] ');
if (entrance == "y"){
console.log("Awesome! " +userName+ " Let's start!")
}
else if (entrance == "n"){
console.log('Maybe some other time')
process.exit()
}
'You are locked in a room. You have to find the key before you open the door. You put your hand in the hole, YOU DIE!'
var choices=
['hole', 'key', 'door']
index = readlineSync.keyInSelect(choices, 'Which Choice?');
playerPlaying = true;
while (playerPlaying == true) {
isplayerOptions = true
while(isplayerOptions == true){
//while the player is still active
{
const isPlayerOption1 = readlineSync.question("Are you sure you wanted to ... \n [1] Open the door? \n [2] Put hand in the hole? \n [3] Find key? \n",{limit:["1","2","3"]});
switch(isPlayerOption1){
case '2':
console.log ('You have died 😵!!!...again')
isplayerOptions = true;
break;
case '3':
console.log ('You found the key under the rug!');
isplayerOptions = false;
break;
case '1':
console.log ('You do not have key 😫, try again');
isplayerOptions = true;
break;
}
}
}


r/javaScriptStudyGroup • • Aug 06 '21

Learning by building a project

4 Upvotes

Hi guys! Can you please let me know if there is any tutorial for JavaScript where the instructor teaches by building a big website from scratch while teaching? Like: so here we have called this object a from this class.. "let me explain what an object is..." Then goes on teaching tp build.


r/javaScriptStudyGroup • • Jul 03 '21

Accordion Menu Using HTML And CSS Only | Pure HTML And CSS Only

Thumbnail
youtu.be
5 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 • • Jul 27 '21

Internationalization in Plain React.js

Thumbnail
blog.decipher.dev
2 Upvotes

r/javaScriptStudyGroup • • Jul 27 '21

Understanding Micro Frontends

Thumbnail
javascript.works-hub.com
2 Upvotes

r/javaScriptStudyGroup • • Jul 02 '21

3D Cube Animation Using HTML and CSS Only

Thumbnail
youtu.be
3 Upvotes

r/javaScriptStudyGroup • • Jun 24 '21

4 Ways To Write For Loops in JavaScript

Thumbnail
medium.com
4 Upvotes

r/javaScriptStudyGroup • • Jul 30 '21

How to Customise Material UI's Default Styling | JavaScript Works

Thumbnail
javascript.works-hub.com
2 Upvotes

r/javaScriptStudyGroup • • Aug 09 '21

Console.log() - The Right Way ✅

Thumbnail
ooshimus.com
5 Upvotes

r/javaScriptStudyGroup • • Aug 03 '21

How to Create Authentication APIs with AWS Cognito?

Thumbnail self.expressjs
2 Upvotes

r/javaScriptStudyGroup • • Jun 24 '21

check this out, a tut how to build a many to many conference app

Thumbnail
youtu.be
1 Upvotes

r/javaScriptStudyGroup • • Jun 28 '21

Projectile Motion | Physics Animation

Thumbnail
youtu.be
4 Upvotes

r/javaScriptStudyGroup • • Jul 28 '21

Need help making a random game suggestion generator!

1 Upvotes

I have a random number generator already set up. How do I assign game names to each number so a Game name gets displayed instead of the number generated?


r/javaScriptStudyGroup • • Aug 05 '21

Timepicker based on schedule?

1 Upvotes

Right now I have a Datetime-local that has a min time, so users can't start before now...

What I plan on doing, is creating a schedule (lets say 9-5 every weekday)

Is that possible? Any places I can look into?


r/javaScriptStudyGroup • • Jul 12 '21

Sidebar Menu HTML CSS | Without JavaScript

Thumbnail
youtu.be
5 Upvotes

r/javaScriptStudyGroup • • Jun 25 '21

TikTok Loading Page Using HTML-CSS

Thumbnail
youtu.be
3 Upvotes

r/javaScriptStudyGroup • • Jul 19 '21

Digital Transformation Towards A Safer and More Secure Frontend Application

1 Upvotes

From choosing the language for development to getting acquainted with the micro-frontend approach, the journey is full of incremental improvements and valuable learnings.

https://medium.com/dbs-tech-blog/digital-transformation-towards-a-safe-and-secure-frontend-application-5e73a2e6aa3b


r/javaScriptStudyGroup • • Jul 18 '21

Fullscreen Video Background With HTML And CSS

Thumbnail
youtu.be
4 Upvotes

r/javaScriptStudyGroup • • Aug 07 '21

jQuery ajax tutorials with example

Thumbnail
codetopology.com
5 Upvotes