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

    JavaScript Time validation in PDF form

    You don't say how you get the four times. I would get the day month and year also so you can account for times during the year change over [Dec 31 to Jan 1] Use const date = new Date(2016, 11, 17, 0, 0, 0, 0) remembering the months start at 0 and run to 11. See JavaScript Date Objects Then let...
  2. O

    Can I have phpMyAdmin on a 2018 home laptop?

    The answer is no. I have had wamp phpmyadmin on my computer ever since I started to study PHP. It is one of the first thin gs I put on my computer when I get a new one. They do not run in the background so they can't slow things down.
  3. O

    media query head scratcher

    I used firefox and it looks good. Did you check what happens if the content of one div is three times longer than all the others?
  4. O

    JavaScript the code just doesn't want to run please help

    Where does this code come from? And did you make a canvas in the <body>? I did and got a red canvas with a black square. I don't know what this JS code does and don't want to figure it out, but it seems to work for me.
  5. O

    Responsive form on the website

    After reading your code, which has about 400 lines of style and 39 external stylesheets, all I can say is throw this out and either get a new template or write one yourself. No one will spend time going through this cra-junk to try and fix it. I tried running this and it just won't work. The...
  6. O

    HTML & CSS I can't colorize a specific item of my html

    Do you mean something like this: .... .keypad :last-child :nth-child(3){color:blue; background-color: #b22222;} .keypad :last-child :nth-child(3):active{color:blue; background-color: #801818;} </style>
  7. O

    JavaScript Can't get mousePressed to work the way I want, p5js

    Not mouseClicked() Use onclick <body> <button id="demo" onclick="changeColor();" style="background-color: red;color:white;margin-top: 100px;;">PushMe <script> function changeColor(){ document.getElementById('demo').style.backgroundColor = 'blue'; }...
  8. O

    Help with respsonsive site / table

    Questions: Do you want the images to go outside the screen width or do you want them to be responsive? I can do one, not both. Why do you need to use a table for this?
  9. O

    Help with respsonsive site / table

    Programmers stop using tables to make web site back in the 50's. Tables are only used to display data. And img is an inline object anyway so just remove all that table junk and the outcome will look the same. Making people keep going right or left to view images would make me leave to site and...
  10. O

    Want to cretae a script for FIFO

    This is why I hate it when people post in two or more forums. I just spent a half hour writing an algorithm for this problem. :mad:
  11. O

    HTML & CSS help with my first try at grids

    OK, You got the points I was going to give you before you found that generator. You did change the layout, so good for you. I don't think this is OK: html,body { margin: 0; padding: 0; * { box-sizing: border-box; } } The *{box-sizing: border-box;} should not be placed...
  12. O

    HTML & CSS help with my first try at grids

    Hard to figure out what is going on. You define four areas but only have three, where is the area 'brand'? You have something with a class of hidden and do not define that. I tried to clean things up and define areas with color: <!DOCTYPE html> <html> <style> * { padding:0; margin:0; box-sizing...
  13. O

    HTML & CSS My modal closes automatically

    Instead of re-writting your code or sending you to a page with many explainations I will just paste the code you need to do this. From W3Schools: <!DOCTYPE html> <html> <title>W3.CSS</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet"...
  14. O

    JavaScript JavaScript screen transition?

    The transition is done with CSS. The JS controls when it happens. JS stuff: The HTML has three (3) divs. the second and third are hidden by class = hide When you click START it goes to startQuiz() which hides the start div and shows the second. Then it displays the array question in that div...
  15. O

    JavaScript How to change textNode using setState and requiredState?

    You should add "REACT" to your title. It a special type of JS.
  16. O

    I'm sure it's simple but...

    Noticed two things about your code right away. You never completed CSS for the second area and you love display: inline-block; even though it's not needed for anything in your code. Go and read about it and all the display modes. You have two divs, one to hold the text and one to hold the image...
  17. O

    use <div> as a second <body> element to work on webpage

    Do you want us to style your calendar like the second site and then place it on the bottom left? Or show you how to place something on the bottom-left of your site?
  18. O

    Starting a Scheduling Application

    Here is a decent youtube on making a scheduling app View: https://www.youtube.com/watch?v=70JwyYSosX0 Good Luck
  19. O

    JavaScript How to paint an element in screen using javascript?

    Do you want the color to change at key-down-event and stay that color Or keep changing colors as it moves - what happens when the bat stops moving?
  20. O

    JavaScript How to reflect the ball at an angle?

    the same way you're moving the bat. The x direction controls the left/right travel of the ball. A positive value moves the ball right, and negative yields left. When the ball hits the top edge or blocks placed there (A BreakOut clone game) the x changes from pos to neg or the opposite and the y...
Back
Top Bottom