HTML Forums | An HTML and CSS Coding Community

Welcome to HTMLForums; home of web development discussion! Please sign in or register your free account to get involved. Once registered you will be able to connect with other members, send and receive private messages, reply to topics and create your very own. Our registration process is hassle-free and takes no time at all!

Search results

  1. bretbernhoft

    How Often Do You Code?

    As a developer, I code every day.
  2. bretbernhoft

    Set html website to no-index

    I believe what you're looking for is this: <meta name="robots" content="noindex, nofollow"> Here is a resource to help explain what I'm referring to.
  3. bretbernhoft

    How do I get the largest value?

    <!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> </head> <body> <input type="number" class="number"> </br> <input type="number" class="number"> </br> <input type="number" class="number">...
  4. bretbernhoft

    How do I get the largest value?

    Did you make the changes I suggested?
  5. bretbernhoft

    How do I get the largest value?

    You need to change the function name for the onclick attribute on your button. Instead of saying "alert", it should read "biggestNumber()". And try this JavaScript code out: function biggestNumber() { const items = [...document.querySelectorAll(".number")]; const itemValues = []; for (let i...
  6. bretbernhoft

    How do I get the largest value?

    Can you paste the code that you are using into this thread? That way I can take a closer look at what is going on.
  7. bretbernhoft

    How do I get the largest value?

    Here's a solution that works for me. Please let me know if you need any other help, or if this solution doesn't work for your needs.
  8. bretbernhoft

    How do I get the largest value?

    Okay, great to know. Would you like me to rewrite your code to solve the issue you're having?
  9. bretbernhoft

    How do I get the largest value?

    I'd be happy to offer my help, but I am uncertain what you are trying to ask. Are you referring to an array of numbers? Where do those numbers come from?
Back
Top