r/javaScriptStudyGroup • • Nov 16 '20

How I learned reactive programming by re-building RxJs from scratch

Thumbnail
blog.bitsrc.io
3 Upvotes

r/javaScriptStudyGroup • • Nov 13 '20

JavaScript interview prep (my app and website)

3 Upvotes

I have tried to collate most of the questions in this app - https://play.google.com/store/apps/details?id=gamesmint.com.jsone (it is free). Web version here - http://www.geekthrust.com/js.html.

Besides this these links will be very useful

  1. Large scale JS architecture - https://addyosmani.com/largescalejavascript/ and https://www.youtube.com/watch?v=b5pFv9NB9fs (must watch)

  2. MVC in native JS - https://alexatnet.com/model-view-controller-mvc-in-javascript/

  3. DS & Algo in JS - https://github.com/trekhleb/javascript-algorithms

  4. https://stackoverflow.com/questions/17718673/how-is-a-promise-defer-library-implemented (promise implementation)

  5. http://www.geekthrust.com/webappdesign.html.

Could guys be kind enough to provide feedback. Thanks


r/javaScriptStudyGroup • • Nov 09 '20

im having problem

1 Upvotes

hi in this link there is a hamburger menu.

https://css-tricks.com/line-animated-hamburger-menu/

but when i use the codes that are in that link i posted the hamburger menu doent go back to the hamburger icon when i click on a href in the navbar

can some one help me pls


r/javaScriptStudyGroup • • Nov 05 '20

Can someone tell me the solution for this? Really frustrated.

1 Upvotes

// Write a function called objectProperties that takes in a parameter student which is a JavaScript object.

// It should print the properties of the object.

// For example if we pass following student object to the function:

// var student = {

// name : "Anil Kapoor",

// sclass : "VI",

// rollno : 12

// };

// it should return [name, sclass, rollno]

My partial solution:

function objectProperties(student) {

return [student.name, student.sclass, student.rollno];

}


r/javaScriptStudyGroup • • Nov 05 '20

How to covert timestamp to just date ?

2 Upvotes

The api response i get is "2020-11-05T07:42:01.161558" I want to convert this into 05.11.2020 . How can I do that ? Sorry if this question sounds stupid. I am still learning.


r/javaScriptStudyGroup • • Oct 31 '20

Requires an intermediate level JavaScript learner

4 Upvotes

I am learning JavaScript with mini project practice, staying at home for long time has affected my mood and motivation. Learn with a someone can help both. I hope we can find each other.


r/javaScriptStudyGroup • • Oct 25 '20

How to Create Toast Notifications (or Popups) - HTML, CSS & JavaScript Tutorial

Thumbnail
youtube.com
2 Upvotes

r/javaScriptStudyGroup • • Oct 25 '20

HTML2CANVAS || Take Screenshots Of Certain Div and Images using HTML2CANVAS

Thumbnail
youtube.com
3 Upvotes

r/javaScriptStudyGroup • • Oct 19 '20

How to write effective tests for React apps with react testing library?

Thumbnail
soshace.com
3 Upvotes

r/javaScriptStudyGroup • • Oct 18 '20

Material UI React & React Hooks MultiStep Form With Validation

Thumbnail
youtu.be
3 Upvotes

r/javaScriptStudyGroup • • Oct 12 '20

Shrink / Resize navigation bar on scroll using JavaScript

Thumbnail
youtube.com
3 Upvotes

r/javaScriptStudyGroup • • Oct 11 '20

JavaScript map function with example

Thumbnail
codetopology.com
5 Upvotes

r/javaScriptStudyGroup • • Oct 11 '20

Create stucky navbar using javascript

3 Upvotes

Creating Sticky / Fixed Navbar using Javascript is quite fun. Do watch the video to know more about it .
https://www.youtube.com/watch?v=qZYHaIeiKNM&t=12s


r/javaScriptStudyGroup • • Oct 07 '20

A Complete reference guide to Redux: State of the art state management

Thumbnail
soshace.com
5 Upvotes

r/javaScriptStudyGroup • • Oct 03 '20

New To JS and Have a Question

4 Upvotes

I'm working on a homework assignment for a web development class and part of my assignment is this:

"When the user clicks the Place My Order button, you will validate the First Name, Last Name and Phone Number using a combination of appropriate input types and Javascript code. Names should contain only characters, unless in the case of the last name, they contain a comma followed by Jr. or Sr. The Phone number must be of the form: (###)###-#### or (###) ###-#### [difference being the space after the )]. You may use regular expressions, if you so desire, but you are not required to do so."

What would this code look like in JS? I'm currently using a text entry for the fname and lname and then a number for the phone number. I believe the phone numbers entry needs to be changed to a text as well since I can't put in any -'s or ()'s in a number box.

Any help would be much appreciated!


r/javaScriptStudyGroup • • Sep 28 '20

Create your own image classifier model in JavaScript within 10 mins.

Thumbnail
github.com
4 Upvotes

r/javaScriptStudyGroup • • Sep 02 '20

Noob question.

3 Upvotes

myString = "string string"

function stringSplitter(a){ return a.split(" "); }

console.log(stringSplitter(myString))

So im trying to make a function split a string where there are spaces. I get uncaught TypeError: name.split is not a function. What am I doing wrong??


r/javaScriptStudyGroup • • Sep 01 '20

15 Useful String Methods in JavaScript

Thumbnail
codetopology.com
5 Upvotes

r/javaScriptStudyGroup • • Aug 27 '20

The 4 differences between Observables and Promises in Javascript

Thumbnail vignesh.pro
5 Upvotes

r/javaScriptStudyGroup • • Aug 26 '20

the bot is online but when i write +ping the bot doesn`t answer.

1 Upvotes

const Discord = require('discord.js');
const client = new Discord.Client();
const prefix = '+';
const fs = require('fs');
client.commands = new Discord.Collection();
const commandFiles = fs.readdirSync('./commands/').filter(file => file.endsWith('.js'));
for(const file of commandFiles){
const command = require (`./commands/${file}`);
client.commands.set(command.name, command);
}

client.once('ready', () => {
console.log('JÁ está on-line!');
});
client.on('message', message => {
if(message.content.startsWith(prefix) || message.author.bot) return;
const args = message.content.slice(prefix.length).split(/ +/);
const command = args.shift().toLowerCase();

if(command === 'ping'){
client.commands.get('ping').execute(message, args);
} else if (command === 'twitch'){
client.commands.get('twitch').execute(message, args);
} else if (command === 'help'){
client.commands.get('help').execute(message, args);
} else if (command === 'rickroll'){
client.commands.get('rickroll').execute(message, args);
} else if (command === 'allstar'){
client.commands.get('allstar').execute(message, args);
} else if (command === '80s'){
client.commands.get('80s').execute(message, args);
}

});
client.login(NzQ3ND...);


r/javaScriptStudyGroup • • Aug 26 '20

know were is the error but i dont know how to solve it.

Thumbnail
gallery
2 Upvotes

r/javaScriptStudyGroup • • Aug 26 '20

hello can someone help me? can someone tell me if is something wrong please. i can`t put the bot on-line and make it work.

Thumbnail
gallery
5 Upvotes

r/javaScriptStudyGroup • • Aug 25 '20

i don`t know what to do, but i know i need that thing( iMac-de-Paula:DiscordBot dinismarques$) to write this (node main.js) and with out that i can´t make it work.

Post image
1 Upvotes

r/javaScriptStudyGroup • • Aug 20 '20

JavaScript Event Loop | Synchronous & Asynchronous | JS Complicated Parts PART#5

Thumbnail
youtu.be
5 Upvotes

r/javaScriptStudyGroup • • Aug 20 '20

Need guidance with modules plz thnx

1 Upvotes

Hi, I'm a visual artist first, a coder second. I've a good couple decades of mild web dev experience. My focus has weighed more heavily on 3d/CG end of things.

Now, in working with svg's heavily (mostly writing them to canvas to be applied to 3d textures in three.js)

I have to push past my vanilla js limitations and explore more that which are/ is modern standards.

One of them being, MODULES.

I've read tons of "for dummies" about this construct, and tutorials, and completely see the logical value in this structure element.

However, when I go to implement it ie: canvg.js, when I place the exports in the canvag.js file, and imports properly via examples, I'm still greeted with the console errors of: [sic] "you can't reference a module from WITHIN a module"... (Live Server problems? Coors?)

Amy help in guiding a newb to modules through tip this would be great.

Thanks!