GithubHelp home page GithubHelp logo

js-hindi-youtube's Introduction

js-hindi-youtube

A code repo for javascript series at Chai aur code youtube channel


Projects for practice

All projects are available here in a special sandbox. All future projects will also be added on the same link. Javascript Projects

js-hindi-youtube's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

js-hindi-youtube's Issues

Project 4 suggestion:to remove prevGuess [] array

Hi Hitesh,
I was doing some js practices from your videos and came after this project and was going through the code but did not understand project 4 do we need the prevGuess[] cause it is not used for displaying anything it just keeps track of the elements pushed but it is not used anywhere,
help me understand as I am a beginner but if I am missing something here.

#1 not an issue

ji sir aapne tho kamal ki kaam kar rahe hai
mein apke js playlist tho 80% complete karke ye lag raha hai mein js mein full confident hun

waise playlist mein projects video mein 1) project color change ka apne har ek color ko target karke background change kar rahe hai
tho maine socha
chalo color naam ki variable mein sabhi hojai

let buttons = document.querySelectorAll('.button')

let body = document.querySelector('body')

buttons.forEach((btn)=>{
  btn.addEventListener('click',(e)=>{
    let color = e.target.id
    body.style.backgroundColor = color
  })
});```

Javascript learning

So much thankful for Hitesh sir providing amazing and great content to us.

Project 1 Efficient Solution

This is not any issue or something, but I want you to review my code of project 1. In this we don't have to edit any code in the JavaScript file.

I guess this is the fast way to contact you, so I am sending this in the Issue of GitHub.

const body = document.body;
const buttons = document.querySelectorAll(".button");

buttons.forEach((button) => {
  const color = button.getAttribute("id");
  button.addEventListener("click", (e) => {
    body.style.backgroundColor = color;
  });
});

Mistake in Code

@hiteshchoudhary In project 4" prevGuess.push(guess);
if (numGuess === 11)" is blocking the successfull result if we achive in last chance. if we guessed it right in last chance it's showing game over so please change it to " prevGuess.push(guess);
if (numGuess < 11)" it will fix this issue and thanks for this level of undestaning lectures sir.

07_project Color Changer

Haanji , in this you have used event listener to get the id of the color clicked. But we used the other way to solve this and found it somewhat interesting and better .

function clicked(z) {
const x = document
.querySelector('body')
.setAttribute('style', background-color:${z};);
}

const y = document.querySelectorAll('.button');
console.log(y);
y.forEach((button) => {
const x = button.getAttribute('id');
if (
(document.getElementById(x).onclick = () => {
if (true) {
console.log(x);
clicked(x);
}
})
);
});

JS Hindi

From when js hindi course will continue?
Please ๐Ÿ™ answer sir.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.