Code Monkey home page Code Monkey logo

javascriptseries's People

Contributors

apna-college avatar

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

javascriptseries's Issues

Issue related to .value

Can somebody please help me in explaining why these lines of code not working

btn.addEventListener("click", (evt) => {
evt.preventDefault();
let amt = document.getElementById("amount");
let amtVal = amt.value;

if(amtVal < 0 || isNaN(amtVal) || amtVal == "") {
    amtVal = "1";
 
}

});

issue in rock paper scissors game.

when i was making this project on my system then one issue occurred which was in JavaScript.
"choices.forEach((choice) => {
choice.addEventListener("click", () => {
const userChoice = choice.getAttribute("id");
playGame(userChoice);
});
});"
in this part of code browser was not showing id name it was returning null value.
i have checked my html and JavaScript code but the naming was proper everything else worked fine just this one issue that the id names are not showing just the null value is returning ![isssue1](https://github.com/shradha-khapra/JavaScriptSeries/assets/95120225/283baaf9-53bb-4c83-aae7-3b80312dab86) ![issueHTML](https://github.com/shradha-khapra/JavaScriptSeries/assets/95120225/f1983fe1-ac73-45e7-a27c-87105ec060da) ![issueJS](https://github.com/shradha-khapra/JavaScriptSeries/assets/95120225/900b87c3-708d-44de-81a7-f6986e84a83e)

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.