r/javaScriptStudyGroup • • May 23 '16

[Week 19] Focus: Symbols

3 Upvotes

Here we are at Week 19. Week 19's focus will be Symbols.

Reference material: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol

It will work like this:

  • Monday: Announce focus (eg, Symbols)

  • Build throughout the week... Two rules: 1) must use javascript 2) must provide at least one example of using the symbol data type.

  • Friday: Post demos/projects in this thread (can begin reviewing immediately); first line of an entry should be ENTRY and it should be a top level comment (ie, don't put your entry in a reply)

  • Sat and Sun: Review projects/figure out focus for next week

GENERAL GUIDELINES FOR FEEDBACK:

  • Be nice!! ALL KNOWLEDGE/SKILL LEVELS ARE WELCOME AND ENCOURAGED TO PARTICIPATE.

  • If you don't want feedback, if it makes you uncomfortable or you're just not interested, simply say so... Others, please be respectful of this. Conversely, if you do want feedback, try to be specific on which aspects... even if you just say "all/everything.

But that's about it... Have fun! :) Feel free to ask questions and discuss throughout the week!


r/javaScriptStudyGroup • • May 02 '16

[Week 16] Focus: Object Creation

3 Upvotes

So here we are at Week 16. Week 16's focus will be object creation.

It will work like this:

  • Monday: Announce focus (eg, object creation)

  • Build throughout the week... Two rules: 1) must use javascript 2) must provide at least one example of creating an object.

  • Friday: Post demos/projects in this thread (can begin reviewing immediately); first line of an entry should be ENTRY and it should be a top level comment (ie, don't put your entry in a reply)

  • Sat and Sun: Review projects/figure out focus for next week

GENERAL GUIDELINES FOR FEEDBACK:

  • Be nice!! ALL KNOWLEDGE/SKILL LEVELS ARE WELCOME AND ENCOURAGED TO PARTICIPATE.

  • If you don't want feedback, if it makes you uncomfortable or you're just not interested, simply say so... Others, please be respectful of this. Conversely, if you do want feedback, try to be specific on which aspects... even if you just say "all/everything.

But that's about it... Have fun! :) Feel free to ask questions and discuss throughout the week!


r/javaScriptStudyGroup • • Apr 27 '16

Collection of JavaScript Interview Questions on GitHub

Thumbnail
github.com
3 Upvotes

r/javaScriptStudyGroup • • Mar 14 '16

[Week 9] Focus: Prototypical Inheritance

3 Upvotes

So here we are at Week 9. Big THANK YOU!!! to all who participated in Week 8 (which can now be found over in the sidebar). Week 9's focus will be Prototypical Inheritance.
 
Background info on Prototypical Inheritance:

"You make prototype objects, and then … make new instances. Objects are mutable in JavaScript, so we can augment the new instances, giving them new fields and methods. These can then act as prototypes for even newer objects. We don't need classes to make lots of similar objects… Objects inherit from objects. What could be more object oriented than that?" - Douglas Crockford

 

IT WILL WORK LIKE THIS:

  • Monday: Announce focus (eg, Prototypical Inheritance)

  • Build throughout the week. Two rules: 1) Must use JavaScript 2) Must show at least one example of the uses of Prototypical Inheritance.

  • Friday: Post entries/demos/projects in this thread; first line of an entry should be ENTRY in bold, and it should be a top level comment (ie, don't put your entry in a reply)

  • Sat and Sun: Review projects/figure out focus for next week

 

GENERAL GUIDELINES FOR FEEDBACK:

  • Be nice!! ALL KNOWLEDGE/SKILL LEVELS ARE WELCOME AND ENCOURAGED TO PARTICIPATE.

  • If you don't want feedback, if it makes you uncomfortable or you're just not interested, simply say so... Others, please be respectful of this. Conversely, if you do want feedback, try to be specific on which aspects... even if you just say "all/everything; try to be somewhat specific if possible.
     

That's about it... Have fun! Be creative... or not. :) Feel free to ask questions and discuss throughout the week!


r/javaScriptStudyGroup • • Jan 31 '26

Resume Help

Thumbnail
reddit.com
2 Upvotes

r/javaScriptStudyGroup • • Mar 15 '25

You can visualize millions of datapoints in JavaScript while maintaining smooth zooming, panning, and interactions at over 60 fps. Here's how

Thumbnail
blog.ag-grid.com
2 Upvotes

r/javaScriptStudyGroup • • Dec 09 '24

Awesome Video on MERN Stack Authentication

2 Upvotes

Just watched an awesome video on MERN stack authentication on CyberWolves. The way they explained and presented the concept was so clear and unique, it completely blew me away. Thought I’d share it here so more people can check it out and appreciate the creator’s effort. Highly recommend it for anyone into full-stack development!

Video Link => https://youtu.be/VNZQjabjolU


r/javaScriptStudyGroup • • Oct 28 '24

Mastering Design Patterns in JavaScript: Part 4 — The Strategy Pattern

2 Upvotes

Hey fellow developers! 👋

I recently wrote an in-depth article on the Strategy Pattern in JavaScript, and I wanted to share it with you all.

In the article, I cover:

  • What the Strategy Pattern is all about 🧐

  • Why you should use it ❓

  • Real-world analogies 🛠️

  • Implementation in JavaScript and TypeScript 💻

  • Practical applications 🌐

  • Best practices and common pitfalls 🚫

  • When to use the Strategy Pattern and related patterns 🔄

If you're interested in writing cleaner, more maintainable code and avoiding messy conditional logic, I think you'll find it valuable!

Read the full article here.

Happy coding! 👨‍💻


r/javaScriptStudyGroup • • Oct 23 '24

Mastering Design Patterns in JavaScript: Part 3 - The Observer Pattern

2 Upvotes

Hello guys,

Part 3 of my Design Pattern series in JavaScript is out now! 👉 I will be covering the Observer Pattern in this article, and demonstrate implementations & best practices with real-life examples to help you build scalable & maintainable applications.

If you want to learn the patterns, bigger than 23 GOF design patterns or improve your JavaScript skills this is for you!

https://codexstoney.medium.com/mastering-design-patterns-in-javascript-part-3-the-observer-pattern-06f1a08ade93?sk=7f8254f33f8ce2d387f697c2ccea2564

I hope to receive your feedback and theories. Happy coding!


r/javaScriptStudyGroup • • Sep 26 '24

Seeking people to work on a social science/justice fullstack website in pern or mern.

2 Upvotes

I'm creating a psych-social science project that requires learning mongodb and/or postgres, and I am rusty with the expres routes and don't know mongodb. DM me if interested. I've already got started but those already joined can only work with me around 6am to 9am PST and I'm still free after 3pm PST


r/javaScriptStudyGroup • • Sep 16 '24

How to Create a Modern App with Django and Vue

Thumbnail
thedevspace.io
2 Upvotes

r/javaScriptStudyGroup • • Aug 16 '24

Interesting frontend interview questions

Thumbnail
gallery
2 Upvotes

r/javaScriptStudyGroup • • Jun 04 '24

Help needed in cursor position in JS

2 Upvotes

function getCursorPosition(canvas, event) {

const rect = canvas.getBoundingClientRect()

const x = event.clientX - rect.left

const y = event.clientY - rect.top

console.log("x: " + x + " y: " + y)

}

  1. Why do we have you subtract clientX by rect.left?

  2. Why cant we just console log clientX and clientY?

  3. Whats the difference between ClientX/Y and rect./top? Please help


r/javaScriptStudyGroup • • May 15 '24

Help understanding the differences in my code

2 Upvotes

Hello everybody! I spent 2 weeks stuck on a decrypt function (I'm a beginner). I managed to fix it with the help of chatgpt, but can you all help explain to me what made this new code work?

Here's my new code:

function decrypt(encryptedMessage, shiftValue) { let decryptedMessage = ""; let charCount = 0; for (let i = 0; i < encryptedMessage.length; i++) { let char = encryptedMessage[i];

    // Skip random letters added during encryption
    if ((charCount + 1) % 3 === 0) {
        charCount++;
        continue; // Skip this character
    }
    
    if (alphabet.includes(char.toLowerCase())) {
        let index = alphabet.indexOf(char.toLowerCase());
        let shiftedIndex = (index - shiftValue) % alphabet.length;
        if (shiftedIndex < 0) {
            shiftedIndex += alphabet.length;
        }
        decryptedMessage += alphabet[shiftedIndex];
    } else {
        // If not an alphabetic character, just append it to the decrypted message
        decryptedMessage += char;
    }
    charCount++; // Increment character count
}
return decryptedMessage;

}

Here's my old code:

function decrypt (encryptedMessage, shiftValue) { let decryptedMessage = ""; let charCount = 0; for (let i = 0; i < encryptedMessage.length; i++) { // Skip random letters added during encryption// if ((charCount + 1) % 3 === 0) { continue; //Skip this character }

    let char = encryptedMessage[i]
    if (alphabet.includes(char.toLowerCase())) {
        let index = alphabet.indexOf(char.toLowerCase());
        let shiftedIndex = (index - shiftValue) % alphabet.length;
        //Ensure shiftedIndex is positive//
        if (shiftedIndex < 0) {
            shiftedIndex += alphabet.length;
        }
        decryptedMessage += alphabet[shiftedIndex];
        //Skip if not an alphabetic character//
    } 
    else {
         
    }
    charCount++; //Increment character count
}

// Your decryption code here return decryptedMessage; }

The project was a Caesar's cipher. My original code didn't handle the decryption like it should've, and the problem was that the "random letter after every two characters" wasn't executed the same from my encrypt and decrypt. My encrypt was correct, my decrypt wasn't.

What about this new code allowed my decryption to work? Thank you all in advance


r/javaScriptStudyGroup • • Apr 24 '24

I'm so confused

Thumbnail
gallery
2 Upvotes

I'm a beginner in javascript, and this is my code. When I try to decrypt the secret message, I get spammed with these "undefined" !!! My mentor told me it could have something to do with negative numbers. Can somebody please help me? I just want this code to decrypt the message. I'm attending the Springboard bootcamp, so they're forcing me to learn Javascript in a span of about 3 weeks lol


r/javaScriptStudyGroup • • Mar 27 '24

Mastering Animated Navigation with JavaScript | Web Development Tutorial for Beginners

Thumbnail
youtu.be
2 Upvotes

r/javaScriptStudyGroup • • Mar 20 '24

🚀 Top 7 CSS & JavaScript Projects for Coders & Web Developers!

Thumbnail
youtu.be
2 Upvotes

r/javaScriptStudyGroup • • Jan 24 '24

🎥 Dive into our Stunning HTML & CSS Card Animation Tutorial – perfect for both pros and learners!

Thumbnail
youtu.be
2 Upvotes

r/javaScriptStudyGroup • • Dec 28 '23

16 Intermediate/Advanced JavaScript projects for live coding Interview rounds (Course Preview)

Thumbnail
youtube.com
2 Upvotes

r/javaScriptStudyGroup • • Dec 14 '23

Need help with an exercise, please.

2 Upvotes

Hi, I'm learning JavaScript and this is one of the exercises that I can't get through, I was hopping someone could guide me a bit.

You see I'm leaning Objects, this is what I have to do:

  • Add a new property to the pirateProfile
    called pirateName
    and set this to the value of 'Blackbeard'

  • Remove the realName
    property.

  • Change the value of piecesOf8
    on the treasure
    key to be 8 rather than 7.

  • Change the shipName
    property to its new value of Queen Anne's Revenge without changing the orinigal object.

  • This is the code given:

function createPirate() {
const pirateProfile = {
        realName: 'Edward Teach',
        shipName: 'La Concorde',
        treasure: {
            gems: 10,
            piecesOf8: 7,
            goldCoins: 150
        }
    };
return pirateProfile;
}
----

I literal tried to find how to mutate a function Object but without luck. And every time I write the way is taught like pirateProfile.pirateName = 'Blackbeard' it gives '✕ ReferenceError: pirateName is not defined '.


r/javaScriptStudyGroup • • Nov 30 '23

Why & How To Use CSS Preprocessor | CSS Preprocessor Tutorials For Beginners | Rethinkingui |

Thumbnail
youtu.be
2 Upvotes

r/javaScriptStudyGroup • • Nov 29 '23

🌟 Elevate Your Web Design: Flexbox Mastery for Seamless Layout Wrapping! 💻

Thumbnail
youtu.be
2 Upvotes

r/javaScriptStudyGroup • • Nov 22 '23

🌟🎨 Bonus Alert! Learn how to craft a Responsive Navbar! Dive into this tutorial to create a sleek, adaptable navbar for all devices.

Thumbnail
youtu.be
2 Upvotes

r/javaScriptStudyGroup • • Oct 19 '23

Welcome to Vite | Downsides of create-react-app | Reasons to Consider Vite

Thumbnail
youtu.be
2 Upvotes

r/javaScriptStudyGroup • • Aug 16 '23

Looking for an Accountability Partner to Study JavaScript Together.

2 Upvotes

I hope you're all doing great. As the title states I am looking for an accountability to study JS for now, will branch out to Full Stack . It doesn't matter if you've just taken your first steps or have been at it for a little while. The important thing is that we can motivate and support each other throughout this learning journey.

🗓️ How We'll Do It: We can decide on a suitable time and frequency to study together—whether it's daily or a few times a week. We can also discuss the topics we plan to cover in advance. Having a study plan will help us stay organized and focused.

❓ What We'll Do Together: Our sessions can include going through online tutorials, working on coding challenges, and building small projects to solidify our understanding. We can also reserve time to discuss any doubts or questions we might have.
Looking forward to connecting with a fellow JavaScript enthusiast! Let's make learning fun and productive together. 💪🌟

If interested drop me a message here in the group or send me a direct message. Feel free to tag anyone you know who might be interested or drop a comment below. :)

P.S. If you're aware of any active groups of Js , Web development on platforms like WhatsApp, Facebook, or other online forums that focus on meaningful discussions rather than just sharing promoted videos, please don't hesitate to share the links here! Let's collaborate and support each other's learning journeys.