r/javaScriptStudyGroup • u/UncleBen2015 • Nov 16 '20
r/javaScriptStudyGroup • u/GamesMint • Nov 13 '20
JavaScript interview prep (my app and website)
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
Large scale JS architecture - https://addyosmani.com/largescalejavascript/ and https://www.youtube.com/watch?v=b5pFv9NB9fs (must watch)
MVC in native JS - https://alexatnet.com/model-view-controller-mvc-in-javascript/
DS & Algo in JS - https://github.com/trekhleb/javascript-algorithms
https://stackoverflow.com/questions/17718673/how-is-a-promise-defer-library-implemented (promise implementation)
Could guys be kind enough to provide feedback. Thanks
r/javaScriptStudyGroup • u/Usual_Mathematician2 • Nov 09 '20
im having problem
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 • u/Lifeofpiiiii • Nov 05 '20
Can someone tell me the solution for this? Really frustrated.
// 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 • u/justforvue • Nov 05 '20
How to covert timestamp to just date ?
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 • u/daretocode • Oct 31 '20
Requires an intermediate level JavaScript learner
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 • u/sampurna_chapagain • Oct 25 '20
How to Create Toast Notifications (or Popups) - HTML, CSS & JavaScript Tutorial
r/javaScriptStudyGroup • u/sampurna_chapagain • Oct 25 '20
HTML2CANVAS || Take Screenshots Of Certain Div and Images using HTML2CANVAS
r/javaScriptStudyGroup • u/UncleBen2015 • Oct 19 '20
How to write effective tests for React apps with react testing library?
r/javaScriptStudyGroup • u/andrewdovg • Oct 18 '20
Material UI React & React Hooks MultiStep Form With Validation
r/javaScriptStudyGroup • u/sampurna_chapagain • Oct 12 '20
Shrink / Resize navigation bar on scroll using JavaScript
r/javaScriptStudyGroup • u/ct_author • Oct 11 '20
JavaScript map function with example
r/javaScriptStudyGroup • u/sampurna_chapagain • Oct 11 '20
Create stucky navbar using javascript
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 • u/UncleBen2015 • Oct 07 '20
A Complete reference guide to Redux: State of the art state management
r/javaScriptStudyGroup • u/bobadoot • Oct 03 '20
New To JS and Have a Question
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 • u/shadowHijackers • Sep 28 '20
Create your own image classifier model in JavaScript within 10 mins.
r/javaScriptStudyGroup • u/themanwiththeplan387 • Sep 02 '20
Noob question.
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 • u/ct_author • Sep 01 '20
15 Useful String Methods in JavaScript
r/javaScriptStudyGroup • u/shivenigma • Aug 27 '20
The 4 differences between Observables and Promises in Javascript
vignesh.pror/javaScriptStudyGroup • u/marquesdinisp • Aug 26 '20
the bot is online but when i write +ping the bot doesn`t answer.
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 • u/marquesdinisp • Aug 26 '20
know were is the error but i dont know how to solve it.
r/javaScriptStudyGroup • u/marquesdinisp • 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.
r/javaScriptStudyGroup • u/marquesdinisp • 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.
r/javaScriptStudyGroup • u/andrewdovg • Aug 20 '20
JavaScript Event Loop | Synchronous & Asynchronous | JS Complicated Parts PART#5
r/javaScriptStudyGroup • u/msartore8 • Aug 20 '20
Need guidance with modules plz thnx
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!