r/javascriptFrameworks • • Oct 19 '21

CodeceptJS Free Video Course #3: Forgot Password in CodeceptJS

Thumbnail
youtube.com
2 Upvotes

r/javascriptFrameworks • • Oct 13 '21

CodeceptJS Free Video Course #2: Registration & Email Testing

Thumbnail
youtube.com
2 Upvotes

r/javascriptFrameworks • • Oct 08 '21

Top 10 Benefits of Node.js Web Application Development in 2021

Thumbnail
techmagic.co
2 Upvotes

r/javascriptFrameworks • • Sep 22 '21

great mapping resource in JS!

Thumbnail
youtube.com
2 Upvotes

r/javascriptFrameworks • • Sep 04 '21

Aula 07 - Api rest ExpressJS(nodejs), Eslint, Husky, padrão e qualidade.

Thumbnail
youtube.com
2 Upvotes

r/javascriptFrameworks • • Sep 01 '21

When should you learn a (JavaScript) framework?

Thumbnail
how-to.dev
2 Upvotes

r/javascriptFrameworks • • Aug 18 '21

How to create a grid from random generated numbers between min and max values?

2 Upvotes

I'm trying to draw a grid representing random generated integers between (-100-100) (Each cell / square corresponds to an integer). 100 corresponding to the hexadecimal value #FF0000 (red) and -100 corresponding to the hexadecimal value #00FF00 (green), then assigning a color to each cell between the two initial colors according to the value of the integer it represents. An example like "Github contribution grid"


r/javascriptFrameworks • • Aug 16 '21

How Readable Are Your React Component's TypeScript Props Typing?

Thumbnail
chakshunyu.com
2 Upvotes

r/javascriptFrameworks • • Jul 26 '21

How To Write Readable React Content States

Thumbnail
chakshunyu.com
2 Upvotes

r/javascriptFrameworks • • Jul 04 '21

Tutorial/Video Google Authentication in MERN using Passportjs

Thumbnail
youtu.be
2 Upvotes

r/javascriptFrameworks • • Jun 15 '21

What does the following statement declare?

2 Upvotes

var myArray = [ [ [ ] ] ];


r/javascriptFrameworks • • Jun 06 '21

Tutorial/Video HarperDB Instance w/ React

Thumbnail
piyushsinha.tech
2 Upvotes

r/javascriptFrameworks • • Jun 02 '21

5+ JavaScript One-Liners That You Should Know

2 Upvotes

JavaScript continues to grow and grow, opening the door to new "tech geeks" in the market, as it is one of the easiest languages to run. (is this really true?)

It's true that JavaScript can do many amazing things! and there's so much more to learn.

And whether you're new to JavaScript or a more professional developer, it's always good to learn something new.

I'll cover some really useful one-liners that can help you improve performance and help you debug your code.


r/javascriptFrameworks • • May 31 '21

How To Create A Simple Web UI To Manage NodeJS Process With PM2 API?

Thumbnail
self.expressjs
2 Upvotes

r/javascriptFrameworks • • May 26 '21

5 Awesome JavaScript UI and CSS Tools You May Not Know About

2 Upvotes

If you came here looking for highly popular JavaScript libraries, let me save you some time. This blog post isn’t for you. There are a plethora of resources out there talking about the “top so and so” JavaScript resources. I don’t want to add to the pile.

I am here to talk about the real MVPs, the lesser-known gems that don’t get the due attention in the overcrowded JavaScript ecosystem.

Some of these tools are libraries and some of them are frameworks. However, most of them are emerging technologies, carrying immense potential, waiting to be tapped by beginner, intermediate, or advanced level developers.

So without further ado, let me get straight to the point, Here’s a curated list of JavaScript UI and CSS tools that have become a part of our design and development processes in 2021


r/javascriptFrameworks • • May 21 '21

5 Things You Can Do Make An Express Application Become Better

Thumbnail self.expressjs
2 Upvotes

r/javascriptFrameworks • • May 18 '21

Tutorial/Video Interactive Maps using Leaflet

Thumbnail
piyushsinha.tech
2 Upvotes

r/javascriptFrameworks • • May 09 '21

Comparison Is Sailsjs worth using in production?

2 Upvotes

I have a website literacis.com which is an education and learning platform. I have built it by Express JS, MongoDb, Ejs template engine. It was my first site which I have built from scratch and I made a lot of design mistake. Now I'm facing issue in scaling/adding new features. So I decided to use existing MVC framework for NodeJs and migrate my older site. I haven't heard of SailsJs much. Could someone please explain is it worth using in production? How much traffic it can handle? Or should I move with other MVC framework?


r/javascriptFrameworks • • May 03 '21

onClick event problem

2 Upvotes

Hello. I have been following tutorial from YouTube :

  1. Responsive Filterable Image Gallery

  2. Lightbox with image slider for it.

I have script1.js from 1st tutorial and script2.js from2nd in folder. I embedded it like this in HTML file :

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

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

</body>

My browser runs either 1st or 2nd, depending on which ich one is pasted first. When I tried to combine it into one script file , the browser tells the preview function was already declared. I tried to change the same names for the preview 2 function and other similar circumstences. After this browser told onClick was already declared or something like this so I believe this is an issue. I'm total beginner and this work is form my school project. I don't understand any tutorial on the internet with explanation about onclick events. Please help here is the scripts :

script 1:

//selecting all required elements

const filterItem = document.querySelector(".items");

const filterImg = document.querySelectorAll(".gallery .image");

window.onload = ()=>{ //after window loaded

filterItem.onclick = (selectedItem)=>{ //if user click on filterItem div

if(selectedItem.target.classList.contains("item")){ //if user selected item has .item class

filterItem.querySelector(".active").classList.remove("active"); //remove the active class which is in first item

selectedItem.target.classList.add("active"); //add that active class on user selected item

let filterName = selectedItem.target.getAttribute("data-name"); //getting data-name value of user selected item and store in a filtername variable

filterImg.forEach((image) => {

let filterImges = image.getAttribute("data-name"); //getting image data-name value

//if user selected item data-name value is equal to images data-name value

//or user selected item data-name value is equal to "all"

if((filterImges == filterName) || (filterName == "all")){

image.classList.remove("hide"); //first remove the hide class from the image

image.classList.add("show"); //add show class in image

}else{

image.classList.add("hide"); //add hide class in image

image.classList.remove("show"); //remove show class from the image

}

});

}

}

for (let i = 0; i < filterImg.length; i++) {

filterImg[i].setAttribute("onclick", "preview(this)"); //adding onclick attribute in all available images

}

}

//fullscreen image preview function

//selecting all required elements

const previewBox = document.querySelector(".preview-box"),

categoryName = previewBox.querySelector(".title p"),

previewImg = previewBox.querySelector("img"),

closeIcon = previewBox.querySelector(".icon"),

shadow = document.querySelector(".shadow");

function preview(element){

//once user click on any image then remove the scroll bar of the body, so user can't scroll up or down

document.querySelector("body").style.overflow = "hidden";

let selectedPrevImg = element.querySelector("img").src; //getting user clicked image source link and stored in a variable

let selectedImgCategory = element.getAttribute("data-name"); //getting user clicked image data-name value

previewImg.src = selectedPrevImg; //passing the user clicked image source in preview image source

categoryName.textContent = selectedImgCategory; //passing user clicked data-name value in category name

previewBox.classList.add("show"); //show the preview image box

shadow.classList.add("show"); //show the light grey background

closeIcon.onclick = ()=>{ //if user click on close icon of preview box

previewBox.classList.remove("show"); //hide the preview box

shadow.classList.remove("show"); //hide the light grey background

document.querySelector("body").style.overflow = "auto"; //show the scroll bar on body

}

}

script 2:

//getting all required elements

const gallery = document.querySelectorAll(".image"),

preview2Box = document.querySelector(".preview2-box"),

preview2Img = preview2Box.querySelector("img"),

closeIcon = preview2Box.querySelector(".icon"),

currentImg = preview2Box.querySelector(".current-img"),

totalImg = preview2Box.querySelector(".total-img"),

shadow = document.querySelector(".shadow");

window.onload = ()=>{

for (let i = 0; i < gallery.length; i++) {

totalImg.textContent = gallery.length; //passing total img length to totalImg variable

let newIndex = i; //passing i value to newIndex variable

let clickedImgIndex; //creating new variable

gallery[i].onclick = () =>{

clickedImgIndex = i; //passing cliked image index to created variable (clickedImgIndex)

function preview2(){

currentImg.textContent = newIndex + 1; //passing current img index to currentImg varible with adding +1

let imageURL = gallery[newIndex].querySelector("img").src; //getting user clicked img url

preview2Img.src = imageURL; //passing user clicked img url in preview2Img src

}

preview2(); //calling above function

const prevBtn = document.querySelector(".prev");

const nextBtn = document.querySelector(".next");

if(newIndex == 0){ //if index value is equal to 0 then hide prevBtn

prevBtn.style.display = "none";

}

if(newIndex >= gallery.length - 1){ //if index value is greater and equal to gallery length by -1 then hide nextBtn

nextBtn.style.display = "none";

}

prevBtn.onclick = ()=>{

newIndex--; //decrement index

if(newIndex == 0){

preview2();

prevBtn.style.display = "none";

}else{

preview2();

nextBtn.style.display = "block";

}

}

nextBtn.onclick = ()=>{

newIndex++; //increment index

if(newIndex >= gallery.length - 1){

preview2();

nextBtn.style.display = "none";

}else{

preview2();

prevBtn.style.display = "block";

}

}

document.querySelector("body").style.overflow = "hidden";

preview2Box.classList.add("show");

shadow.style.display = "block";

closeIcon.onclick = ()=>{

newIndex = clickedImgIndex; //assigning user first clicked img index to newIndex

prevBtn.style.display = "block";

nextBtn.style.display = "block";

preview2Box.classList.remove("show");

shadow.style.display = "none";

document.querySelector("body").style.overflow = "scroll";

}

}

}

}

please help


r/javascriptFrameworks • • Apr 28 '21

Why Beginners NEED to Learn JavaScript

Thumbnail
youtu.be
2 Upvotes

r/javascriptFrameworks • • Mar 21 '21

Tutorial/Video 🆕 Setting up Namecheap domain in Vercel

Thumbnail
jorgearuv.dev
2 Upvotes

r/javascriptFrameworks • • Feb 25 '21

JS Framework with no server side programs?

2 Upvotes

Hey guys, I'm quite new to using frameworks so go easy on me pls

I'm developing a web app and I'd like to use a framework to make my life easier. However, the code will be deployed on my school's servers, so i can't run any server side applications. Are there frameworks l can use to help me with development anyway or am I on my own?


r/javascriptFrameworks • • Jan 28 '21

Image Editor using CamanJS

Thumbnail
piyushsinha.tech
2 Upvotes

r/javascriptFrameworks • • Jan 27 '21

thecreazy/cerbero: track your user on your web page

Thumbnail
github.com
2 Upvotes