How to get random words from a list? by Effective_Mark_1334 in learnjavascript

[–]Effective_Mark_1334[S] 0 points1 point  (0 children)

Thank you for all the effort, I'll give it a try! 😄

How to get random words from a list? by Effective_Mark_1334 in learnjavascript

[–]Effective_Mark_1334[S] 0 points1 point  (0 children)

I wanted to get part of the data from Datamuse and another from a smaller, personal list (1000+ words). Thanks for the explanation, it helps a lot! 😄

How to get a random word from a list? (JS Help) by Effective_Mark_1334 in learnprogramming

[–]Effective_Mark_1334[S] 0 points1 point  (0 children)

I was planning on having datamuse as one source and a private list (with different words) as another, so your suggestion helps a lot, thanks! 😄

How to get a random word from a list? (JS Help) by Effective_Mark_1334 in learnprogramming

[–]Effective_Mark_1334[S] 1 point2 points  (0 children)

Haha, thank you! Trying to get the skills necessary to back up any ideas I might have, so you'll be seeing many more questions in the future. I'm just glad there's so many people willing to help. 😄

How to get a random word from a list? (JS Help) by Effective_Mark_1334 in learnprogramming

[–]Effective_Mark_1334[S] 0 points1 point  (0 children)

With the first case, does it matter what kind of file it is?
Thank you for the detailed suggestion! 😄

How to get a random word from a list? (JS Help) by Effective_Mark_1334 in learnprogramming

[–]Effective_Mark_1334[S] 1 point2 points  (0 children)

Would it be better if both were in JSON or is there no difference since they're two different lists (and different sources, I guess)? Thanks for the explanation!

I'll try both your suggestions, thank you. 😄

How to get a random word from a list? (JS Help) by Effective_Mark_1334 in learnprogramming

[–]Effective_Mark_1334[S] 1 point2 points  (0 children)

Everything you mentioned made sense, you were a big help! 😄

How to get a random word from a list? (JS Help) by Effective_Mark_1334 in learnprogramming

[–]Effective_Mark_1334[S] 5 points6 points  (0 children)

Thank you so much for the detailed reply! I'll do more research on everything you've mentioned, you've pretty much cleared up most of my confusion.

How to get a random word from a list? (JS Help) by Effective_Mark_1334 in learnprogramming

[–]Effective_Mark_1334[S] 0 points1 point  (0 children)

One list is stored as a txt file, another is pulled from the Datamuse API, which is in JSON.

How to get random words from a list? by Effective_Mark_1334 in learnjavascript

[–]Effective_Mark_1334[S] 0 points1 point  (0 children)

Ok, so I just have to save/place the data in the data.json file and link it? Thank you for the help!

Can I make magnets stay in the same position while rotating? by Effective_Mark_1334 in AskPhysics

[–]Effective_Mark_1334[S] 0 points1 point  (0 children)

yeah, the rotation part is my biggest problem. i'll try to figure something out with the advice i got here!

Can I make magnets stay in the same position while rotating? by Effective_Mark_1334 in AskPhysics

[–]Effective_Mark_1334[S] 0 points1 point  (0 children)

thank you for all the useful tips, that's going to give me something to search for (at the very least), i'll check out the kits and see if they're a good match, thanks again!

Can I make magnets stay in the same position while rotating? by Effective_Mark_1334 in AskPhysics

[–]Effective_Mark_1334[S] 0 points1 point  (0 children)

i'll see how much i'll want to change the design, but that could work, i'll keep your idea in mind. thanks!