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!

Search results

  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
  16. Zakwan@MTH

    Mobile developer

    Hi there ! I hope so you are doing well... Can you please share a bit about what kind of server-app you are looking for so maybe we can have a good chat about what you need and how it can be achieved !!!
  17. Zakwan@MTH

    Regarding inserting images in html files

    Hey There! The location of your HTML file determines how you reference other files. You can use relative paths, such as ./image-name.jpeg, if the HTML file is in the same directory (e.g., on your desktop). Alternatively, you can use absolute paths, which start from the root directory. For...
  18. Zakwan@MTH

    JavaScript How to configure oauth in sveltia cms and integrate with sveltekit, deploy to vercel?

    Hey There ! In order to troubleshoot SvelteKit GitHub OAuth issues, verify your GitHub OAuth settings by ensuring the callback URL (e.g., https://your-domain.com/admin/auth/callback) is correctly set in your GitHub app. Update your Sveltia CMS configuration to include the GitHub client ID and...
  19. Zakwan@MTH

    Trying to add a base64 image as a cursor- svg?

    Hey There! To use an SVG as a custom cursor in your application, you need to apply the correct CSS syntax. Ensure you’re using the following format: element { cursor: url('data:image/svg+xml;base64,[your-base64-encoded-svg]') 16 16, auto; } Replace [your-base64-encoded-svg] with the actual...
  20. Zakwan@MTH

    JavaScript How do I disable right click with a tooltip appearing when clicked?

    Hey there! If you want to add a fun message when users right-click on your site here is one-way to do it: 1. HTML: Add a hidden tooltip: <div id="tooltip" style="display: none;">Right-click is disabled! Your copyright info here.</div> 2. CSS: Here is how to style the tooltip: #tooltip {...
Back
Top Bottom