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

    JavaScript How to create a dynamic live counter

    1. The problem is probably not with the function 'r'. 2. It is normal, 2e4 equals 2000*** and 1e4 equals 10000***, so the range is [200, 1000]. 3. Yeah, but it takes some work.. Don't you know PHP? You should learn it.
  2. LTomy

    JavaScript How to create a dynamic live counter

    Hello! 1. What values does it return? Looks like it should work. 2. Set the interval to r(2, 10). 3. You would have to use a server-side language such as PHP. 4. What is '$' supposed to do?
  3. LTomy

    I'm Julia

    Welcome to CodeForum!
  4. LTomy

    Hi

    Do not worry, everybody makes mistakes :laugh:
  5. LTomy

    Python Need help with project, Simple stuff just explain what's wrong to me

    The problem is that you are writing 'then', which you should not: if var < 10: print("Smaller than 10.") else: print("Bigger than 9.") Simply take off the 'then'.
  6. LTomy

    Hi

    Well, welcome back!
  7. LTomy

    My First Project- Skyrim Game Manual (Player Edition)

    CSS. All the styles used to define how to display the HTML elements are located in the CSS files. Alternatively, you can put any CSS style inside the attribute 'style' of an HTML element to apply the styles only to that element. However, it should not be used too much as it can get messy. <div...
  8. LTomy

    My First Project- Skyrim Game Manual (Player Edition)

    Yep, By default, a <table> will not use all the space it can, but only the space it needs. You can either set its width to 100% so it takes all the space available or you can center it (For example, by giving it the style 'margin: auto;').
  9. LTomy

    How many passwords do you use online?

    That is why I said it went from impossible to STILL impossible, but easier xD. By the way, you are using a strong hashing algorithm with a high number of iterations for the key derivation?
  10. LTomy

    Hi everyone

    Welcome siiman!
  11. LTomy

    HTML & CSS how to copy this part to my wordpress blog

    Hi siiman, I do not use WordPress, but isn't that a plugin? If I were you, I would search for a 'Pinterest plugin' for WordPress.
  12. LTomy

    Best Method for - detect coll?

    Hey, Are you talking about 2d or 3d collisions? 3d collisions are way more complex to handle. I do not know how to reply, handling collisions is quite complex (though interesting). Note that handling resistance/gravity enters more in the category 'simulating physics' than 'collisions'. I...
  13. LTomy

    HTML & CSS Image alignment

    Looks good ;) Two little things: 1. I thing you should use camelCase naming: rightalignimg -> rightAlignImg. 2. Maybe you should rename 'whoareyoujpg' to 'width40perc', or something like that, and make it a class so it can reused. Note that you can give many classes to an element, like that...
  14. LTomy

    HTML & CSS Image alignment

    Yep. And give classes to images that have common attributes.
  15. LTomy

    ORANGE

    Well..... Let's make orange juice.
  16. LTomy

    ORANGE

    Hmm, I won't lie, I did not understand :thinking:
  17. LTomy

    My First Project- Skyrim Game Manual (Player Edition)

    Looks great! You should look into the CSS property 'float'. Example: img{ float: right; } You can set the width of the image, in pixels, like that: img{ width: 300px; } Or in percentage of the width of its parent element: img{ width: 30%; }
  18. LTomy

    My First Project- Skyrim Game Manual (Player Edition)

    Thank you for showing us your work! p.s. A screenshot would have been nice.
  19. LTomy

    HTML & CSS Media Query

    The following applies the styles inside the braces only if the screen is at least 800px: @media only screen and (min-width: 800px) { } You can use that to apply different styles to small/big screens (Phones vs computers). Make sure you have the following line in the <head> of your HTML: <meta...
Back
Top Bottom