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

    Darkmode On

    I only program color modes once a long time ago. The user had many choices of themes to use and I didn't have a timing problem. I used cookies then. Now you also have a choice of internal memory. And if you're still having a slow timing problem think about PHP to render the page. First CSS...
  2. O

    JavaScript Getting the sum of equal array elements, and creating a new array

    When I was working on this I thought about making a temp array and then deleting elements from it preserving the original array, but decided that didn't matter cause we have the original in the code. What I thought was the tricky part was doing the comparison as a negative. I did spend a lot of...
  3. O

    JavaScript Customize Layout Javascript

    You have done a horrible job explaining yourself. What are the red boxes? JS is never used to design. Html is used for that. JS is used to manipulate the html page. We also need the HTML to understand the js. And you need to have both the js and css formatted instead of the way it is now. Place...
  4. O

    JavaScript Getting the sum of equal array elements, and creating a new array

    I could not post yesterday because of routine maintenance to this forum. When I saw this -> nameArray = [Jack, Jack, Jack, Betty, Tim, John, John, Jack, Jack] I knew you didn't know enough to work with arrays. Arrays are not easy to understand, as is working with strings, And just when you think...
  5. O

    JavaScript Call several times a javascript on the same page

    There are a lot of external sheets called. Here is one BIG problem on that site - all <p> have it: <p class=""left"">torde...</p><div id=""question5""></div> Notice the doubled double-quotes - class=""left"" which means the 'class' will see nothing for it's name and not 'left'.
  6. O

    JavaScript Call several times a javascript on the same page

    When you say Do you mean you put it into "tipsforcrew.com"? That just might be the problem. Why not get a free site and post your code just like you want to do for real and see if you're still having problems? If you are you can post a link to the site and we can troubleshoot from there.
  7. O

    Help with padding

    You forgot to add the px to the 'padding' .cart { background-color: rgb(255, 216, 20); padding-left: 20px; // this dimension padding-right: 20px; // this dimension padding-top: 5px; padding-bottom: 5px; border-radius: 12.5px; transition: 0.15s; border: none; }
  8. O

    JavaScript Call several times a javascript on the same page

    Sorry, forgot to say that I made a DIV with that ID that houses the Answers section. <!DOCTYPE html> <html lang="en-us"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- <link rel="stylesheet" href="style.css"> --> <style> *{...
  9. O

    My using CSS @supports does not work with feature detection

    Why have something only supported in Edge and hurtful to all other browsers?
  10. O

    My using CSS @supports does not work with feature detection

    @supports should be placed first in the css. and border-sizing has been deprecated.
  11. O

    JavaScript Loading JS that block all the rest of the page loading... (FireFox)

    I don't think js checks to see if it's loaded. But here's a thought. Set a global variable in the script and check it in a different script - if it is not set you know it didn't load.
  12. O

    JavaScript Call several times a javascript on the same page

    You had this in your HTML in your original post <h3 class="aligncenter">aucun ?</h3> <p id ="rep1"></p> <p id ="rep4"></p> <p id ="rep6"></p> <p id ="rep2"></p> <p id ="rep12"></p> So that is what I programmed for and I said this in my post And that was in regards to thisconst alsoArray = [1...
  13. O

    JavaScript Call several times a javascript on the same page

    It is not "java", it is "javascript". They are two different languages. What was wrong with the code I gave you? Just have your friend modify the code I gave you.
  14. O

    JavaScript Scroll and focus to field

    The site you gave has a lot of stuff that's not your website. Can't use it. Take a look at element.getBoundingClientRect(); retrieve the x, y values then scrollTo() and make the y value what you need.
  15. O

    How do I learn programming?

    Use the search function here for hundreds of answers to that question.
  16. O

    Feedback New forum colors

    Thanks for that -- My eyes are in your debt -- While you're working on the forum could we have a button or whatever that allows us to follow a thread without posting to it?
  17. O

    JavaScript Javascript code works more than once

    I hope the #1 and #2 are not part of the code. You are also missing 2 closing brackets beside the brackets cbreemer saw. See if this code works: <script> $("#example").on('click','tr #edit', function() { var tr = $(this).closest('tr'); var data = table.row(tr).data()...
  18. O

    Feedback New forum colors

    Could we have some control over font size? I need a larger one. And some of the colors in the code are hard for me to see.
  19. O

    JavaScript Call several times a javascript on the same page

    OP, I hope you get emails for posting in this thread. In the following I didn't know how to do "alsoArray" any other way, there is no rhyme or reason to what you selected. I don't have a wordpress account so can't guarantee the 3 columns. I did not change the div inside the <p>. <!DOCTYPE html>...
Back
Top Bottom