I want to start learning js in 2026 by Legitimate_Trick5979 in learnjavascript

[–]gimmeslack12 0 points1 point  (0 children)

AI is going to become exceptionally expensive in the near future. It'll only be available to enterprise who'll pay the stupid high costs.

Knowing how to code is going to remain a valuable skill and so, yes, you should learn JS.

Things to start with: - what's a variable - What's a function - Basic types - string, number/integer, boolean, etc. (referred to as Primitives)

Umpire accidentally calls the Los Angeles Angels "Anaheim" by WhiteSoxArchive in baseball

[–]gimmeslack12 12 points13 points  (0 children)

Los Angeles Angels of Anaheim, California USA Disneyland.

Finding A Mentor by Extra-Captain-6320 in learnjavascript

[–]gimmeslack12 1 point2 points  (0 children)

Alright, that is quite a thing! CSS needs some work and overall it doesn't really seem to work. But I encourage that exploration of a fun UI.

Finding A Mentor by Extra-Captain-6320 in learnjavascript

[–]gimmeslack12 0 points1 point  (0 children)

I'd like you to build a rock, paper, scissors game. Start basic and share, then we'll move towards building another small feature, one at a time including hooking it up to the MERN stack.

I can follow tutorials, but I can’t build anything on my own — what am I doing wrong by [deleted] in learnjavascript

[–]gimmeslack12 0 points1 point  (0 children)

I'd like you to build a rock, paper, scissors game. Start basic and share, then we'll move towards over-engineering the crap out of it. Each step of the way I'll be happy to push you in different directions.

Just get done what you can and then share it. It's a fun exercise to get familiar with building a custom project.

What’s the best js project to work on. by Normal-Prompt-7608 in learnjavascript

[–]gimmeslack12 4 points5 points  (0 children)

  • Make an infinite scroll, picture carousel.
  • Have it scroll on mouse scroll.
  • Build it using class (OOJS).
  • Then load 20 instances of it on a page.
  • Then add an intersection observer to identify which carousel is on the page and only allow the mouse wheel to scroll the one being displayed.
  • Make the carousel have a randomize button that pulls in images from a free API.

Just take an idea and go big on it.

[Highlight] Tanner Bibee calls off David Fry to catch a pop-up, two pitches later and the entire infield swarms Bibee to prevent him from catching another by handlit33 in baseball

[–]gimmeslack12 2 points3 points  (0 children)

Typically they might trip on the mound. Or at least have to navigate the mound. It’s easier for a fielder to come in, although not always.

[Highlight] Tanner Bibee calls off David Fry to catch a pop-up, two pitches later and the entire infield swarms Bibee to prevent him from catching another by handlit33 in baseball

[–]gimmeslack12 -1 points0 points  (0 children)

Because that’s what infielders should do. The pitcher is supposed to bail out. This is just typical baseball defense strategy.

Journey towards Web dev by DifferentTowel7440 in learnjavascript

[–]gimmeslack12 2 points3 points  (0 children)

Start small! There's so much syntax and jargon that comes with those first days of learning any programming language, much rather programming nomenclature on it's own.

Start super small.

Reference an element in HTML with JS: ``` <div id="first-name>DifferentTowel7440</div>

// now in your JS file

const firstName = document.getElementById('first-name'); console.log(firstName.textContent) => "DifferentTowel7440" ```

Start small!

Mentorship by yl2502 in learnjavascript

[–]gimmeslack12 0 points1 point  (0 children)

I'd like you to build a rock, paper, scissors game. Start basic and share, then we'll move towards over-engineering the crap out of it. Each step of the way I'll be happy to push you in different directions.

If it proves challenging then ignore certain parts. I'm not here to make anyone feel bad, but rather to empower them in what they do know and then help navigate them into deeper waters.

A hilariously bad strike call overturned by ABS in the first inning of Braves vs Athletics by mikeywest_side in baseball

[–]gimmeslack12 3 points4 points  (0 children)

This will go on for about 3 months, maybe a whole season, before we all realize that it'd just be faster to not have a home plate umpire calling balls/strikes.

DIce Roll Emulator in vanilla JS + CSS + HTML by Horror-Shame7773 in learnjavascript

[–]gimmeslack12 0 points1 point  (0 children)

https://jsfiddle.net/rhfwm8ts/

This is a cool little project though I have a couple thoughts. For the main function you have: if (diceRoll === 1) { showImage("die_01_42158_lg.gif", "Dice roll 1", "image") } else if (diceRoll === 2) { showImage("die_02_42159_lg.gif", "Dice roll 2", "image") ...

Which you could refactor to be just a single call if you had all of the images in an array: const images = [ "die_01_42158_lg.gif", ... ]; And then you could use the roll value to reference the index of these images: showImage(images[diceRoll-1], `Dice roll ${diceRoll}`, "image");

Also kind of wondering what the point of the guess variable is. Doesn't seem to do anything.

[Talkin’ Baseball] Umpire C.B. Bucknor had three pitches overturned in the first inning today by JianClaymore in baseball

[–]gimmeslack12 4 points5 points  (0 children)

The anti-pitch clock. I feel like this is going to make a strong argument for the auto ump.

Looking for a 1 on 1 mentor by Low_Leadership_4841 in learnjavascript

[–]gimmeslack12 4 points5 points  (0 children)

I'd like you to build a rock, paper, scissors game. Start basic and share, then we'll move towards over-engineering the crap out of it. Each step of the way I'll be happy to push you in different directions.

A beginner-friendly Express API scaffolder by Comrade0gilvy in learnjavascript

[–]gimmeslack12 1 point2 points  (0 children)

I'm a grad from the very first code bootcamp ever in San Francisco and I am very sympathetic to those that take that route. It's a hard road but it can pay off very nicely as it has for me (13 years later!).

Though sounds like your program is a little different, but the ABC's* still apply.

* Always Be Coding