Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Recent content by darioK

  1. D

    JavaScript Use loop to generate id's or classes javascript?

    You can do something as adding random background color to your buttons. For example: const r = Math.floor(Math.random() * 255) const g = Math.floor(Math.random() * 255) const b = Math.floor(Math.random() * 255) const temp = `rgb(${r},${g},${b})`; btn.style.backgroundColor = temp; You could...
  2. D

    JavaScript Javascript callbacks (React setState)

    Does anyone know, I have this unclear thing in my head, React has this method called setState(), you can pass in an object or a callback function. So, when there are two tings passed to setState for example: .setState(oldState => ({ //return an object //add more items to the array and...
  3. D

    Hello all

    Python definetly.
  4. D

    HTML html help with button code

    Tested and works "window.open('https:\/\/checkout.square.site/buy/VBTRXPKD2OXCMA2FQD3RMRRR', '_blank')" Put this instead of your window.location.href(), and delete that _blank=""
  5. D

    HTML & CSS Need help with menu functionality

    You would need some Javascript to handle that click, currently what you are doing is using hypertext reference (href) to go to that menu. Here is some basic code for menu expand functionality done in html with <script> tags: <a href="#" id ="expand">Expand me!</a> <nav id="nav"> <ul>...
  6. D

    JavaScript Conflict with load animations and scroll events

    Unfortunately there is no global way to delay your event listeners.
  7. D

    HTML & CSS Using flex box to make a grid

    Is this what you wanted? <div class="firstcol"> <a href="index.html" id = "ryan" onmouseover="mouseOver()" onmouseout="mouseOut()"><p>Look At This Photograph<br></p></a> <a href="index.html" id = "ryan" onmouseover="mouseOver1()" onmouseout="mouseOut1()"><p>1017 A L Y X...
  8. D

    HTML html help with button code

    Then try onclick="window.open('https:\/\/checkout.square.site/buy/VBTRXPKD2OXCMA2FQD3RMRRR', '_blank')" [/ICODE]
  9. D

    JavaScript Problem with typewriter javascript function

    To link it externaly you need to add the external script after that typewriter cdn <script src="cdn"></script> <script src="example.js"></script> best practice is to put your scripts at the bottom of the body of html. To style that app you need an id selector (#) for example: #app{...
  10. D

    JavaScript Problem with typewriter javascript function

    That is a cdn(Content Delivery Network), google "Typewriter js cdn" and you'll find it.
  11. D

    HTML & CSS Using flex box to make a grid

    Try flex: 0, 50%; And they are stacked on each other because you are setting flex on different divs with only one item in each div.
  12. D

    JavaScript Conflict with load animations and scroll events

    Did you try adding the setTimeout function in the event listener?
  13. D

    HTML html help with button code

    Why dont you use anchor tag and make it look like a button? <a href='https://checkout.square.site/buy/VBTRXPKD2OXCMA2FQD3RMRRR' target="_blank" class="button">Resume and cover letter"</a> Now use .button in css to style it to look like a button.
  14. D

    JavaScript Conflict with load animations and scroll events

    Can you post some code?
  15. D

    HTML & CSS Need Custom CSS help with WP theme.

    Try 270px, or you could do something like read more and expand text if you want it to be more compact. It does not align properly because amount of text sets the height of the element and it appears to be differently aligned but its not. You can set overflow to hidden and with some simple js...
Back
Top Bottom