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

    Read Me We would like your feedback!

    Hello Coders, Code Forum will be changing the way we make decisions. Previously, we made decisions based solely on data and whether something felt right; however, our small community has grown quite a bit since that process began. It is now time for us to evolve into something greater. That is...
  2. Malcolm

    Read Me Citing Code Forum Content

    Citing Code Forum Content This guide explains how to cite material found on Code Forum. The citation format depends on whether you are referencing an entire thread or a specific post. Citing a thread or resourceCiting a specific post or message Format: Format: Username. (Year). "Thread...
  3. Malcolm

    HTML & CSS Text input box extends outside its container

    Hi everyone, I'm having an issue where my text input extends outside its container when using @media query set to a max width of 800px. I've tried setting the input to have a width of inherit and its parent to 100%, but it always seems to extend outside of its parent. Outside query CSS...
  4. Malcolm

    Read Me Changes to Spam Prevention and Memberships

    Hi everyone, I hope you are all well. If you're new, welcome! And if you're returning, welcome back! You've come just in time for some important changes/updates. We have made changes to several vital areas that will impact your experience here at Code Forum. However, we hope this will have a...
  5. Malcolm

    Node.JS What should I consider when building a login / user system in Node.JS?

    Hi everyone, I'm looking to implement a login/user system for my project in Node.js. But, I am not sure where to start so I wanted to ask you kind folks if my plan makes sense and if I'm missing anything important. But I'm thinking my requirements would be something like: Login form that...
  6. Malcolm

    JavaScript How do I use a JavaScript forEach?

    Hi all, I’m trying to use the array method “forEach” but not sure if I’m using it correctly as I keep getting “…not a function”. So I converted an AJAX response to JSON and want to insert each item into an array. Im doing it this way so I can minimize the stuff that’s not useful to me. I’m...
  7. Malcolm

    JavaScript Classes and Constructors?

    Hi everyone, I'm learning about JavaScript classes, but I'm a little confused, and I'm hoping someone can help me out. I learned about constructors a few months ago, and from my understanding, they are used to create objects. You pass data into them, and it forms an object. However, with...
  8. Malcolm

    What's your favourite snack?

    Howdy ya'll, What's your favourite go-to snack? Mine is Lays or Miss Vickies Salt and vinegar chips.
  9. Malcolm

    Count to 25 before Malcolm does

    Hey all, Here's a fun, simple game, your goal is to count to 25 before I do. Once I reply, then you lose. Here are the rules: Count from 0 to 25 before I reply. If I reply, the count is reset back to 0. You cannot reply consecutively, e.g. if you post 2, you cannot post 3. Another user has to...
  10. Malcolm

    Happy Holidays and New Years from Code Forum!

    On behalf of everyone here at Code Forum, we wish you a Happy Holidays, Merry Christmas and Happy New Year! We've been through another increddible year and we couldn't have done it once again without you. Here's to another year 🍻 🎆 - Code Forum.
  11. Malcolm

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

    Hi folks, Recently, I ran into an issue where I was not able to run nodemon. It's an NPM package for node.js that automatically restarts the node server when it detects any new changes. This was due to my computer's strict policy on running scripts (it never did before :rolleyes:). So here's...
  12. Malcolm

    JavaScript Creating HTML elements using JavaScript and using innerHTML (Security)

    Hi everyone, I'm trying to create a new HTML in JavaScript using createElement function and I want to add content within that element. The easiest way to do this, is using createdElement.innerHTML = "content";. However, I've been seeing a couple resources where using innerHTMl is a potential...
  13. Malcolm

    Using loops

    Basic understanding of loops and how they work This tutorial will cover loops and how they work. Although this tutorial will be using JavaScript as the code example, the same principal should work with other languages. Loops can be used to perform a variety of tasks such as looping through...
  14. Malcolm

    JavaScript Need help using localstorage

    Hi folks, I'm trying to play around with localstorage in JavaScript. So from my understanding to save data to local storage I use localstorage.setItem("name", "value"), however am I able to somehow pass a variable to it? For example, what I'm trying to do is when a user makes an input it stores...
  15. Malcolm

    Fun activity With the start of a new school year, how many of you are new or returning students?

    Hey everyone! I recently started my program, Internet Applications and Web Development, this past week, and so far, it's going pretty well. How about any of you? If you have just started or are returning, feel free to reply to this thread with your program and if you're a returning/new student...
  16. Malcolm

    Node.JS Trying to create a process that counts records from a MariaDB and stores the result in another table

    Howdy folks, I'm building a process in my Node server that counts each record at the end of every day and stores them in another table. I'll use this table later to create charts, etc. I want to ensure that it only counts the data within that particular day. So far, I have a cron that runs a...
  17. Malcolm

    Mariadb: Need help querying multiple WHERE LIKE conditions

    Hi folks, I'm trying to query values that match certain conditions using Mariadb. Currently, I have a WHERE statement with: WHERE value LIKE "value1" OR LIKE "value2"; however, after running, I get an error stating there's an error with my syntax (I may be confusing MySQL syntax, which is...
  18. Malcolm

    Node.JS Logging server request IPs

    Hey folks, I am working on my Node Express server and wondering if anyone knew how to record the client IP that requests the server. My goal is to eventually record access and explore blocking IPs from requesting the server. I guess I'll need to grab the IP from the client browser and then...
  19. Malcolm

    test

    test
  20. Malcolm

    Read Me Advertise on Code Forum

    Advertise with Code Forum Are you looking to advertise on Code Forum? Then you’re in the right place; we are currently offering a few advertising placements that you could use to help promote your website, app and more. Disclaimer: All content on this page may be changed or updated at any...
Back
Top Bottom