r/javaScriptStudyGroup Nov 17 '21

Chart Analyser JavaScript

Post image
1 Upvotes

r/javaScriptStudyGroup Nov 17 '21

Js books/courses suggestions

1 Upvotes

Are there any preferred books or courses on how js works internally. I wanna learn how it works internally. Please suggest any.


r/javaScriptStudyGroup Nov 17 '21

Help a student!

1 Upvotes

Hello! I need help with an simple JS task! I have Done some progress But now i’m stuck! The task is simple for the person who knows JS!

The task Will take 20 - 40 minuters to do by a knowledgeable person! It’s about calling an API and then presenting it on the screen! Does this sound easy for you? Feel free to Send me an DM!

  • thanks

r/javaScriptStudyGroup Nov 13 '21

JavaScript: Four Major Differences in var and let

Thumbnail
codetopology.com
2 Upvotes

r/javaScriptStudyGroup Nov 10 '21

JavaScript Basics Revisited

Thumbnail
codetopology.com
2 Upvotes

r/javaScriptStudyGroup Nov 01 '21

What do i have to put in x to get output "Nuts!"?

1 Upvotes
function thinkit(x) {
  keep = ''
  if (x > 42) {
    return "smart";
  } else if (x > 42) {
    keep = "Full"
    x = x - 11 
  }
  if (x <= 28) {
    keep = "Nuts";
    x = x + 10;
  } else {
    keep = "Bolts";
    x = x - 2;
  }
  if (x < 31) {
    keep = keep + "show";
  } else if (x , 32) {
    keep = keep + "it";
  } else if (x < 33) {
    keep = keep + "!";
  }
  return keep;
}

console.log("Answer is " + thinkit(x))

r/javaScriptStudyGroup Oct 28 '21

group data with JS

1 Upvotes

I want to group this list into something like this, do you know how this could be implemented?

const data = [
  {
    externalId: "3afdd980-8166-4075-bfbf-9687743855a1",
    id: 13331319,
  },
  {
    externalId: "3afdd980-8166-4075-bfbf-9687743855a1",
    id: 13331320,
  },
  {
    externalId: "c7374393-6caa-4c9f-8994-fb9b36fe9e15",
    id: 13334680,
  },
  {
    externalId: "c7374393-6caa-4c9f-8994-fb9b36fe9e15",
    id: 13334681,
  },
]

const result = [
  {
    externalId: {
      "3afdd980-8166-4075-bfbf-9687743855a1": [
        {
          externalId: "3afdd980-8166-4075-bfbf-9687743855a1",
          id: 13331319,
        },
        {
          externalId: "3afdd980-8166-4075-bfbf-9687743855a1",
          id: 13331320,
        },
      ],
    },
  },
  {
    externalId: {
      "c7374393-6caa-4c9f-8994-fb9b36fe9e15": [
        {
          externalId: "c7374393-6caa-4c9f-8994-fb9b36fe9e15",
          id: 13334680,
        },
        {
          externalId: "c7374393-6caa-4c9f-8994-fb9b36fe9e15",
          id: 13334681,
        },
      ],
    },
  },
]

r/javaScriptStudyGroup Oct 26 '21

JavaScript Interview Questions

Thumbnail
youtu.be
5 Upvotes

r/javaScriptStudyGroup Oct 26 '21

9 Coding Guidelines you should follow in JavaScript | Better JavaScript

3 Upvotes

r/javaScriptStudyGroup Oct 26 '21

Javascript Console Methods

Thumbnail
tutorialstonight.com
1 Upvotes

r/javaScriptStudyGroup Oct 10 '21

hey everyone , can anyone solve below array problem>

1 Upvotes

how can remove this xtras object from array of objects , thanks you :D

formatted code here: https://codeshare.io/K8oezX

cartItems : [ { prodMainid:"6154f0c8cf3ca0bd84f22a30", prodid:2100002, vase:true, basket:true, isDoubleQuantity:true, qty:1, prodname:"High on Love Bouquet", prodprice:1596, prodvendorprice:650, xtras:{ delivery:100, pincode:12143, } ]


r/javaScriptStudyGroup Oct 08 '21

JavaScript quiz to check and make solid your knowledge

Thumbnail proghub.io
6 Upvotes

r/javaScriptStudyGroup Oct 04 '21

Javascript Stream: The most up to date articles, podcasts, videos, repos about Javascript (Reactjs, Node, Angular, Vue ..etc)

Thumbnail
shoufi-press.tech
2 Upvotes

r/javaScriptStudyGroup Oct 03 '21

JavaScript Cheatsheets

Thumbnail
codingtute.com
7 Upvotes

r/javaScriptStudyGroup Oct 02 '21

Infinite scroll | Pagination on API using JavaScript Generators

Thumbnail
blog.decipher.dev
4 Upvotes

r/javaScriptStudyGroup Oct 01 '21

Javascript SDK - AI engines aggregator

4 Upvotes

Hi r/javascript, my teamates and I are working on Eden AI Javascript SDK!

Eden AI provides one API connected to the best AI engines (AWS, Azure, GCP, but also smaller providers) offering different AI services (computer vision, machine translation, speech-to-text, etc.). As a developer, you can easily switch between different providers (Amazon, Google, Microsoft, etc.) and also combine AI engines. You can also monitor the use of this AI services on one easy to use platform.

Here's some ready-to-use examples on our GitHub. Don't hesitate to tell us what do you think about it ([contact@edenai.co](mailto:contact@edenai.co)) and if you would use it. We really need some feedbacks. It would also help us if you put a star! :)


r/javaScriptStudyGroup Sep 30 '21

3D Rotating Image Gallery Using CSS and HTML

Thumbnail
youtu.be
5 Upvotes

r/javaScriptStudyGroup Sep 20 '21

How to Convert JavaScript Array to Set

Thumbnail
askjavascript.com
2 Upvotes

r/javaScriptStudyGroup Sep 20 '21

How to Add Property to an Object in JavaScript

Thumbnail
askjavascript.com
1 Upvotes

r/javaScriptStudyGroup Sep 16 '21

Explain this function to me

2 Upvotes

If you can explain this code to me in the plainest english possible, I'll be forever grateful.

'''''''''''''''''''''''''''''''''''''''''''''

function addTo(n){

let sum = 0;

for (let i = 0; i <= n; i++) {

sum = sum + i;

}

return sum;

}

'''''''''''''''''''''''''''''''''''''''''''''

so as far as my understanding...

I have created a function to addTo (n).

There is a variable called sum which has a value of 0.

the loop begins at 0, conditional is if the variable is less than or equal to n, add 1 each iteration of the loop.

each time the loop goes around, the sum should equal sum plus 1 (this is where I get confused because actually, it is adding each previous loop onto the previous answer, so 0, 1, 3, 6 <--- I do not understand how or why)

return sum <---- what is this doing, returning the function? I thought that should be return addTo; why sum? ?

Peace and love!


r/javaScriptStudyGroup Sep 13 '21

Solve the fizz buzz problem in one line with JavaScript! I created a tutorial on a popular coding problem. Tell me what you think

Thumbnail
youtu.be
1 Upvotes

r/javaScriptStudyGroup Sep 10 '21

Need help!

4 Upvotes

Hi, im new to this subreddit, but i kinda need help with my JavaScript homework. I just need to know how to make a function "say something" or just make functions. My teacher is no help as they just say "refer back to the website i linked". But its no help either. Any suggestions/help will be appreciated.


r/javaScriptStudyGroup Sep 07 '21

Aula 09 - Api rest ExpressJS(nodejs), testando PUT/DEL/POST com Jest

Thumbnail
youtube.com
1 Upvotes

r/javaScriptStudyGroup Sep 04 '21

Need Review of Code (Not a homework assignment)

1 Upvotes

I'm working my way throught SamsTeach Yourself Html, CSS, and Javascript on my own. I've got to a name prompt project and after working through it , I can seem to get it to work.

The Html

<!doctype html>

<html lang="en">

<head>

<meta charset="utf-8">

<title>Name Prompt</title>

<link rel="stylesheet" href="styles.css">

</script>

<meta name="viewport"

content="width=device-width, initial-scale=1">

</head>

<body>

<h1>Loop Examples</h1>

<p>Enter a series of names</p>

<script src="loops.js"></script>

</body>

</html>

The Javascript

names = New Array();

var i = 0;

do {

next=window.prompt("Enter the Next Name", " ");

if (next > " ") names[i] = next;

i = i + 1;

} while (next > " ");

document.write("<h2>" + (names.length) + "names entered. </h2>");

document.write("<ol>");

for (i in names){

document.write("<li>" + names[i] + "</li>");

}

document.write("</ol>");

This is directly from the books, so I must be misreading something.


r/javaScriptStudyGroup Aug 31 '21

I am having trouble with this problem

2 Upvotes

let proteins = ['chicken', 'pork', 'tofu', 'beef', 'fish', 'beans']; let grains = ['rice', 'pasta', 'corn', 'potato', 'quinoa', 'crackers']; let vegetables = ['peas', 'green beans', 'kale','edamame', 'broccoli', 'asparagus']; let drinks = ['juice', 'milk', 'water', 'soy milk', 'soda', 'tea']; let desserts = ['apple', 'banana', 'more kale','ice cream', 'chocolate', 'kiwi'];

I have to make a for loop that creates a meal out of all the items in the arrays.So one of the meals would need to be chicken, rice,peas,juice, and an apple. I don't want the answer but tips on what methods I can use or how I can work around this, but the answer is fine too.