r/javaScriptStudyGroup • • Aug 16 '21

How could I solve this React Web App assessment?

0 Upvotes

I'm facing the following assessment and I can't solve it. Using React, I need to build a web application with the following features:

  1. Retrieve the numeric value X from an input

  2. Generate X (the value previously entered) integers between -100 and 100 at random

  3. Using Web SVG draw a grid representing the generated integers (Each cell / square corresponds to an integer): 100 corresponding to the hexadecimal value # FF0000 (red) and -100 corresponding to the hexadecimal value # 00FF00 (green), interpolate the two values so as to assign a color to each cell according to the value of the integer it represents.

  4. Integrate a button which allows to download in image format the grid. For a better understanding of the exercise here is a screenshot of a Gitlab integration of a similar component:

Is there an existing app who could do this because I don't know how to figure it out (especially steps number 3 and 4).


r/javaScriptStudyGroup • • Aug 14 '21

A simple session countdown in Vanilla Javascript

Thumbnail
github.com
1 Upvotes

r/javaScriptStudyGroup • • Aug 09 '21

Console.log() - The Right Way ✅

Thumbnail
ooshimus.com
5 Upvotes

r/javaScriptStudyGroup • • Aug 07 '21

jQuery ajax tutorials with example

Thumbnail
codetopology.com
5 Upvotes

r/javaScriptStudyGroup • • Aug 06 '21

Learning by building a project

4 Upvotes

Hi guys! Can you please let me know if there is any tutorial for JavaScript where the instructor teaches by building a big website from scratch while teaching? Like: so here we have called this object a from this class.. "let me explain what an object is..." Then goes on teaching tp build.


r/javaScriptStudyGroup • • Aug 05 '21

Timepicker based on schedule?

1 Upvotes

Right now I have a Datetime-local that has a min time, so users can't start before now...

What I plan on doing, is creating a schedule (lets say 9-5 every weekday)

Is that possible? Any places I can look into?


r/javaScriptStudyGroup • • Aug 03 '21

How to Create Authentication APIs with AWS Cognito?

Thumbnail self.expressjs
2 Upvotes

r/javaScriptStudyGroup • • Aug 01 '21

Help slider

Post image
1 Upvotes

r/javaScriptStudyGroup • • Jul 30 '21

How to Customise Material UI's Default Styling | JavaScript Works

Thumbnail
javascript.works-hub.com
2 Upvotes

r/javaScriptStudyGroup • • Jul 28 '21

Need help making a random game suggestion generator!

1 Upvotes

I have a random number generator already set up. How do I assign game names to each number so a Game name gets displayed instead of the number generated?


r/javaScriptStudyGroup • • Jul 28 '21

Java Online Experiment (In the name of science)

0 Upvotes

Are you a Java developer? Are you willing to invest 20min in the science to improve code review? If so, it would be great if you could take part in our experiment
http://campanella.ifi.uzh.ch
As an appreciation token, we will donate 5 USD to a non-profit organization on your behalf!


r/javaScriptStudyGroup • • Jul 27 '21

Understanding Micro Frontends

Thumbnail
javascript.works-hub.com
2 Upvotes

r/javaScriptStudyGroup • • Jul 27 '21

Internationalization in Plain React.js

Thumbnail
blog.decipher.dev
2 Upvotes

r/javaScriptStudyGroup • • Jul 25 '21

Java Script

0 Upvotes

I want to click on this button on the image using pupperteer and await page.click, but I'm not able to find or use its selector


r/javaScriptStudyGroup • • Jul 25 '21

Useful Javascript Tricks and Tips

Thumbnail
kush01.hashnode.dev
1 Upvotes

r/javaScriptStudyGroup • • Jul 19 '21

Digital Transformation Towards A Safer and More Secure Frontend Application

1 Upvotes

From choosing the language for development to getting acquainted with the micro-frontend approach, the journey is full of incremental improvements and valuable learnings.

https://medium.com/dbs-tech-blog/digital-transformation-towards-a-safe-and-secure-frontend-application-5e73a2e6aa3b


r/javaScriptStudyGroup • • Jul 18 '21

Fullscreen Video Background With HTML And CSS

Thumbnail
youtu.be
4 Upvotes

r/javaScriptStudyGroup • • Jul 12 '21

Sidebar Menu HTML CSS | Without JavaScript

Thumbnail
youtu.be
5 Upvotes

r/javaScriptStudyGroup • • Jul 03 '21

Accordion Menu Using HTML And CSS Only | Pure HTML And CSS Only

Thumbnail
youtu.be
5 Upvotes

r/javaScriptStudyGroup • • Jul 02 '21

3D Cube Animation Using HTML and CSS Only

Thumbnail
youtu.be
3 Upvotes

r/javaScriptStudyGroup • • Jul 01 '21

Easy and fast paid JS job

0 Upvotes

Hi, i would have a console command/chrome extension that simply slide between Instagram stories (of people i follow) and autovote in Instagram poll, If someone is interested i paid 10$ on PayPal or Bitcoin


r/javaScriptStudyGroup • • Jun 28 '21

Projectile Motion | Physics Animation

Thumbnail
youtu.be
4 Upvotes

r/javaScriptStudyGroup • • Jun 27 '21

okay i guess this is basic on classes but am learning, why is this variable undefined in the bottom code but it's working in the top

2 Upvotes

so i copied the code of a mempory game am just changing what happens after you lose or you win, divs add and remove classes to light or darken the divs, after line 436 on the whole code its my added code, the problem as far as the console is this

this.colores.amarillo.classList.add("light"); is undefined

it points to a specific div, this same code is used lines above to choose color and show sequence, and it works, but when you lose or win it doesnt work, i have one other callback fucntion after you win , this one (ganoJuegoJ is to appear a big div annuncing the win, it show the div bit it doesn't trigger the callbakc function to make it disapear

the whole game is inside a class, maybe it has something to do with binding a specifric function to this, but i dont have that clear at the moment

here is the whole code:

https://github.com/moorooba/simon/blob/master/simonmineclass.html


r/javaScriptStudyGroup • • Jun 25 '21

TikTok Loading Page Using HTML-CSS

Thumbnail
youtu.be
3 Upvotes

r/javaScriptStudyGroup • • Jun 24 '21

4 Ways To Write For Loops in JavaScript

Thumbnail
medium.com
4 Upvotes