Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

javascript

  1. cno

    JavaScript Sales Data in an Array - Javascript

    I need some help please, I have a sales data for a couple of years and i want to retrieve the below information using Javascript: -The total number of months included in the dataset. - The net total amount of Profit/Losses over the entire period. - The average of the changes in Profit/Losses...
  2. OhNoItsA8

    JavaScript Smoother JS Sprite Movement

    I'm in the process of making a simple, 2D racing game. I have some code that works to move the car with the arrows, but it isn't very smooth. Once it gets to the end of the page, it scrolls as the car moves, and it's very shaky to the point where it hurts to watch. If you want to see what I...
  3. SpongeBOB

    HTML & CSS Input field like this one on the forum for the tags.

    Hi everyone, How can I make simply an ~input field that work like the one on this very forum ? --> Without any extra add-on (like JSquery etc.. just CSS, HTML, or Regular Javascript. Thanks.
  4. Idle Commander - The Dev

    JavaScript How do I do something to the body while a popup is showing

    Well, there is a little bit of javascript in here but when a popup in my game shows I want to disable all other things on the screen and make them not respond and create a little tint over everything but the popup. And when the user closes the popup everything resumes. I have no idea I tried to...
  5. ShwetankJoshi

    JavaScript facing the issue in creating the JS function that will add the price of each item and give the total amount at the last row of the table.

    Creating a Invoice maker website using HTML , CSS and JS , which is my clg mini project , i hava to create a JS funcition that will multiply the unit cost and quantity to give price and another function that will give the total of the price of each item at last row of the table. the refrence...
  6. N

    JavaScript How do I track item lists for future IF statement

    Still working on the same issue posted https://codeforum.org/threads/better-than-a-long-list-of-if-statements.5571 However, the solution provided on that thread does not work (I think it's because) it's an old Rhino JS compiler (I was told). So, nothing fancy on the suggestions. Thank you. I...
  7. P

    JavaScript How do I loop through an array and display each item in the HTML page on a new line?

    Hi, I am new to JS from Python. I am trying to create a To Do List in JS, and I am trying to loop over an array that contains the added items. I want each item in the array to appear on a new line in the web app. The best I can get is for the items to be displayed like this item1,item2,item3 I...
  8. RedWinter

    JavaScript Need Help to Debug my Code. My problem is that my longitude and latitude becomes undefined when i call them in position function.

    var ref = firebase.database().ref('Location/Lat'); var latitude; var longitude; ref.on("value", function(snapshot) { console.log(snapshot.val()); latitude = snapshot.val().Latitude; longitude = snapshot.val().Longitude; console.log(latitude, longitude)...
  9. TimDang

    JavaScript How to play streaming Audio with webSocket

    I try to play a streaming audio from webSocket, the data returned about playload is base64 and sequance Number of playload. I can play the audio with my code but the sound is very bad. I think my code is the cause of the bad sound, I want the quality of sound better. How can i do? Thank...
  10. udayasl

    JavaScript Fire javascript on infinitely loading page

    I have a simple chat script which continuously updates an HTML page with messages. So the HTML page is infinitely loading and never reaches </body> </html> and the browser also waits till the end (that's the normal behaviour of it to update the chat with latest messages). Now I'm going to add...
  11. A

    Support science and help your favorite charity by participating in a short online experiment.

    Hi We are researchers from the University of Zurich, Switzerland, and developed a web application experiment for investigating ways to improve code review. If you have javascript knowledge, please help us in this 20 – 30 minutes experiment by using the desktop version of a browser...
  12. Connor

    HTML & CSS HTML Searching System

    I am working on a search project. I am new to html, css, etc., and haven't the slightest idea of how to accomplish this. Here is my idea in simplest form: 1. User visits website. 2. User finds search box (form) I created. 3. User types something into search box. 4. When the user clicks the...
  13. Introduction | Javascript | Tutorial 1

    Introduction | Javascript | Tutorial 1

    Giraffe Academy is rebranding! I've decided to re-focus the brand of this channel to highlight myself as a developer and teacher! The newly minted Mike Dane ...
  14. Learn JavaScript - Full Course for Beginners

    Learn JavaScript - Full Course for Beginners

    This complete 134-part JavaScript tutorial for beginners will teach you everything you need to know to get started with the JavaScript programming language.⭐...
  15. RetroGirl

    How virtual controller made

    Hi everyone! Me and my friends are working on making a game in JavaScript that will be a retro platform game. My friend says we "NEED" to have this virtual controller so people could play on their phones. In the game Hop and Bop, they have a virtual controller. We are trying to make something...
  16. mahdiweb

    How to populate a text field on a webpage with a chrome extension?

    I'm trying to create my first chrome extension but I can't fill a text field on a web from my chrome extension. If I could get some help filling in this textfield or a general textfield it would be greatly appreciated. Here are the files I have so far: manifeste.json { "name"...
  17. Johna

    JavaScript How can I add a timeout in between functions?

    <button id="button">Click me!</button> $("#button").click(function() { console.log("clicked"); }) The button can be clicked any number of times, but I want the JavaScript function to only run at most once per second. So if the button was clicked twice in a second, the function will only run...
  18. JustinB

    JavaScript Accessing JSON-data

    Hello people, I'm currently working on a project with node-red. I implemented a tabulator-table inside the dashboard-template-node and filling it with data from a mysql database. Everything worked fine, until I tested it with a bigger database. I realized that it isn't the best way to load the...
  19. Cokslam

    JavaScript [Question] Script not working need assistance, Matching Array with Input

    Hello Guys, im new to HTML CSS and Javascript I'm trying to make a search bar input to answer question based on City Area Covered in array i already prepare, then i want to make the javascipt to produce different result when searched based on the matching input data with array i'm trying this...
  20. G

    JavaScript Help with bookmarklet: Checking a checkbox

    Hello all, First of all, im not a developper. Thanks for any help you can give me. I need help with checking a checkbox with a bookmarklet. I made a javascript bookmarklet script that used to work but since a new system update at job, it doesnt work anymore. Old: javascript:if...
Back
Top Bottom