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!

Recent content by Zakwan@MTH

  1. Zakwan@MTH

    Sticky columns with scrollable columns not overlapping

    To fix the sticky column issue, you need to set position: sticky for both the header and body cells, and also make sure that each sticky column has a fixed width of 100px. For this, you should apply width: 100px to both the th and td elements. Also, add overflow-x: auto to the container to...
  2. Zakwan@MTH

    JavaScript Need help with basic jump game. Can't take multiple key presses.

    this could be because of key rollover or key ghosting <!DOCTYPE html> <html> <body> <script> let test = function(input) { console.log(input); }; let keyPress = {}; let testKeys = function() { // Log key status for debugging...
  3. Zakwan@MTH

    JavaScript Trying to change my countdown timer

    you just need to change the target date for the counter const days = document.getElementById('days'), hours = document.getElementById('hours'), minutes = document.getElementById('minutes'), seconds = document.getElementById('seconds'); setInterval(() => { findDate(); })...
  4. Zakwan@MTH

    Python Telegram bot for searching and downloading songs

    yk spotify doesnt really allow you to directly download music from their site perhaps thats the reason it isnt working, so you can either provide a link or stream it since you would need licensing for downloading it
  5. Zakwan@MTH

    JavaScript How do I log results for a leaderboard?

    you can store the code in a server and then use backend code to display a leaderboard quite easily
  6. Zakwan@MTH

    ER diagram

    Your four entities—customer, product, cart, and payment—are a good starting point for a simple online store, but whether they’re enough depends on how complex you want your store to be. tho i see you want it to be simple but if you wish to make it more complex you can head to my company's...
  7. Zakwan@MTH

    How to get precipitation/UV index value from openweathermap api ?

    To get precipitation data from the OpenWeather One Call API, you need to focus on locations currently experiencing rain or snow. The API only shows precipitation details like rain or snow when these conditions are present. For instance, it might provide the amount of rain in millimeters over the...
  8. Zakwan@MTH

    Need help with form and email

    you can use a server side language like php node.js or python to handle form submissions and send an email, if you have any problems in implementing these you can visit my company's facebook page Mad Tech Heads | London
  9. Zakwan@MTH

    JavaScript Counting emojis for users with constraints

    firstly we will use a single for loop to traverse the string and keep an object to store results while we are gonna use two methods to handle case insensitivity then you can manage groups of users and count emojis accordingly
  10. Zakwan@MTH

    Running scripts is disabled on this system on Windows (solution)

    write the following in powershell it sohuld help Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
  11. Zakwan@MTH

    JavaScript Undesirable throttle point resulting from my Javascript, but the reason for it is the mystery … !???

    you should try inspecting rotatecarousel and check if theres creation of timers repeatedly and also make sure that closures in rotatecarousel are not unintentionally retained
  12. Zakwan@MTH

    PHP Problem with game development

    you need to make sure that the server side logic checks the last train time before allowing the palyer to train again
  13. Zakwan@MTH

    Regarding inserting images in html files

    if you refer to the image direclty as <img src="imagname.jpg"> then you need to make sure that the image is in the same folder as the file in which you are including the image otherwise you gotta give refernce to the image with respect to the file for example if the image is in a folder called...
  14. Zakwan@MTH

    Yes /No field

    you can use boolean data type for your send attribute which takes the values true or false which represent yes and no respectively
  15. Zakwan@MTH

    Haveing come to a complete stop in my code! (HTM, PHP & MySQL)

    there could be some kind of typo in your code leading to this problem since it says that theres an unexpected variable
Back
Top Bottom