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. simong1993

    Help with Implementing Recaptcha? (HTML, PHP)

    Hey There i am actually adding v3 into a database of mine :) , To integrate Google reCAPTCHA v3 into your PHP code, you need to make a post request from your server to Google's server to verify the user's response. Here's a step-by-step guide to integrate reCAPTCHA v3 into your form: HTML...
  2. simong1993

    Day 3 - Halloween Coding Challenges 2023 - JavaScript

    🎃 Spooky Challenge - Day 3 🎃 The JavaScript Jigsaw's Puzzle In the dimly lit corridors of a haunted mansion, the third spirit challenges you with a puzzle. This ghost, named the JavaScript Jigsaw, has scattered pieces of an array throughout the mansion. Whispers from the shadows give you a...
  3. simong1993

    PHP How do I get the video to unmute when scrolled into view but mute when out of view?

    Your approach of using Intersection Observer to handle the muting and unmuting of videos as they come into and leave the viewport is a good one! However, mixing PHP and JavaScript in the way you've done can get a bit tricky, especially when dynamically generating event handlers. Here's a...
  4. simong1993

    Node.JS Is there a better way to write this JS which is dependent on a Promise?

    Hey there! 🌟 I completely get where you're coming from. It does seem that the database is being queried each time one of your routes is accessed. Caching this data at the beginning would indeed reduce the load on your database, speeding things up! 🚀 Let's refactor your code so that the queries...
  5. simong1993

    JavaScript How to make CSS animation show on page for a set time on page reload

    Hey there! Got it. Let's dive right in. Think of your page as a theater. When someone enters, the curtains (your loading animation) are the first thing they see, teasing an exciting performance (your page content). Here's the plan: Curtains Up: At the beginning, the curtains are the star of...
  6. simong1993

    Day 2 - Halloween Coding Challenges 2023 - JQuery

    @menator01 @JosiahMaybe Day 2 has begun :D
  7. simong1993

    Day 2 - Halloween Coding Challenges 2023 - JQuery

    🎃 Spooky Challenge - Day 2 🎃 Greetings once again, brave soul! As you've ventured past the broken spells of the first day, a new trial emerges from the spectral fog. The jQuery Decoder In a world of digital disguise, three numbers stand before your eyes. Two are true, while one tells lies...
  8. simong1993

    Day 1 - Halloween Coding Challenges 2023 - PHP

    So boys and girls, day 1 has come to a close and you are correct, the hidden number is 2. This is a play of words and code, Looking at the array:- array(9, 4, 2, 7, 5); The second digit is 4, but as you and i know an array starts with 0 so the end digit would in fact be number 2. Well done for...
  9. simong1993

    Day 1 - Halloween Coding Challenges 2023 - PHP

    I will show my solution and number tomorrow evening and you can do the same, will be cool to see others' versions of the solution :) for now, though you are welcome to talk and help each other try and work the solution out :)
  10. simong1993

    Day 1 - Halloween Coding Challenges 2023 - PHP

    🎃 Welcome to the Haunted Code Challenge! 🎃 Greetings, brave souls! As Halloween draws near, the spirits have awakened and taken over the realm of code. They've trapped a sequence of magical numbers within broken scripts, and only those with the skill and wit can free them. Each day, you'll...
  11. simong1993

    Why does the background on the footer and images columns disappear on bigger screens ?

    Hey elleng01, Lets take alook at the issues you are getting here one by one :) Footer Background Disappearing:The issue seems to be with the footer background. From your code, the background color for the footer is set to #b29079, which seems fine. However, it might be possible that the footer...
  12. simong1993

    Python Attribute not found

    Hiya, Thank you for sharing your code and error details! The error message you're encountering: AttributeError: 'Node' object has no attribute 'nextNode' is essentially Python's way of telling us that it's trying to access an attribute named nextNode from an instance of Node, but it can't find...
  13. simong1993

    Bundle install errors on MacOS

    Hey Mate, Bummer about the bundle install issues, but let’s try to troubleshoot it together! 🛠️ System Setup Check: Ensure Xcode Command Line Tools are installed and updated since some gems need to compile native extensions: xcode-select --install Fresh Start: Try deleting your...
  14. simong1993

    Python Element is added to a list when it shouldnt

    Aha, you got it! The Python class variable is indeed playing in the same ballpark as the static variables in Java. Tricky little things, aren’t they? Super thrilled that the explanation hit the mark! 🎯 Your kind words and lightbulb moment totally made my day, so a big thank you from over here...
  15. simong1993

    Best way to hide images for responsive

    Hey tomliv and everyone, Big cheers for all the juicy info shared here. Loving the brainy vibes! @mjh, thumbs up for diving deep into the data-src and JS method. It's a sturdy one, especially for those who're rolling with a JS environment. <img id="adaptiveImage"...
  16. simong1993

    Python Element is added to a list when it shouldnt

    Hey there, A bit of a head-scratcher, isn’t it? Let's roll up our sleeves and dig into this little enigma together. Diving into your code, it seems like the key part we need to decipher lies within the Node class and its prevNodes attribute. Python, being the smooth operator it is, handles...
  17. simong1993

    Python Py-script chatgpt payment api

    Hey @Cooldude100, let's take a step back for a moment and work out what you are trying to do and how we can make this work. GPT is amazing but it's given you a generic script that honestly won't work and in the nicest possible way if you don't understand what's happening in the script, you won't...
  18. simong1993

    JavaScript Phone Repair Booking

    For me, i have a repair business to. I have probably been building the website for over a year but I'm getting there. I found using WordPress and woo-commerce was the best fit, so you setup your categories Phone, Laptop then the subcategories, Apple, Samsung etc etc it takes some magic but it...
  19. simong1993

    Node.JS Configuration not working for Node.js

    The error you're encountering seems to indicate a problem with the create-next-app command not being able to find the necessary files. There could be a few reasons for this issue. Here are a few suggestions to help troubleshoot and resolve the problem: 1. Check Node.js and npm versions: Ensure...
  20. simong1993

    JavaScript my code is not passing test, need help!!

    From the code you provided, it seems like you are using the library array defined in the current file (index.js). However, the test case is expecting the library array to be defined in a separate file (../index). To fix this, you need to modify the test case to use the library array defined in...
Back
Top Bottom