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

    CSS hover effect not working with <span></span>

    Hey there:blush::blush: I want to make hover effect on my h1 headlines, but it does not work with the <span></span>. It works fine if the header is just wrapped in <h1></h1>, but I need the <span></span> in order for the background color on the header to wrap correctly. any ideas? <!DOCTYPE...
  2. M

    HTML & CSS blinking cursor css styling

    Yess man. It worked!! Wup wup. :cool: Thanks a lot!:blush::blush::blush:
  3. M

    HTML & CSS blinking cursor css styling

    Y Yeah, maybe I should just do it with different id's and repeat the js code. Would work, not the pretties though :laugh:
  4. M

    HTML & CSS blinking cursor css styling

    not sure I did the alert right...you have lost me on this one :laugh::laugh: Glad you want to help me though
  5. M

    HTML & CSS blinking cursor css styling

    Like this? Not working :thinking::blush::cry: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>hey there</title> <!--font 'Open Sans'--> <link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet"> <!--font 'JetBrains Mono''-->...
  6. M

    HTML & CSS blinking cursor css styling

    The cursor is there, but not blinking. Not sure what you mean about placing the script tag after HTML. After the HTML tag at the bottom you mean? This is my code so far. I deleted styling to simplify: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>hey there</title>...
  7. M

    HTML & CSS blinking cursor css styling

    I am confused about if curser = false; and cursor = true; should really be deleted...it is not in your code? Not sure if you are just trying to show me the loop and I then should still keep the cursor = false; and cursor = true; in the if else statement... <script>var cursor = true; var speed =...
  8. M

    HTML & CSS blinking cursor css styling

    I am trying, but I cannot make it work at the moment...
  9. M

    HTML & CSS blinking cursor css styling

    Okay . I am familiar with for loop, bit with this cursor I am not sure . Do you mind showing me how it works in this case. Thanks a lot!
  10. M

    HTML & CSS blinking cursor css styling

    Ah yes, of course! (Just learning Javascript...). Shouldn't this work. It does not unfortunately... <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>hey there</title> <!--font 'Open Sans'--> <link...
  11. M

    HTML & CSS blinking cursor css styling

    :-) Any idea why it is only for the first headline (#1), where the blinking cursor is working? I coppyed the code and changed the text for the other headlines, so should work.... <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>hey there</title> <!--font 'Open...
  12. M

    HTML & CSS blinking cursor css styling

    Waow, that was almost too easy. Hahah. It worked, thanks!
  13. M

    HTML & CSS blinking cursor css styling

    Hey there! Hope you an help me out here (again :-)) I want to insert a blinking cursor at the end of my text using javascript. However when the cursor blinks the blue colored area gets bigger than the blue colored area behind the text. Might be easier to see with the screenshoot...How do I...
  14. M

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

    I have made an array of the keys. I wonder if a can somehow iterate over them to create ids or classes.... const keys = Object.keys(røvhulsGenerator);
  15. M

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

    EDIT: ***Found out something i wrong with the code. It is not updating, when new code is applied. I will fix it and see if yours work. ***** Ah yes true. There are a bunch of js5 files....I tried your changes out, it is a good idea, however it does not work. Thanks for trying!
  16. M

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

    Of course. Sorry for the delay! <!DOCTYPE html> <html lang=""> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>p5.js example</title> <link rel="preconnect" href="https://fonts.gstatic.com"> <link rel="stylesheet"...
  17. M

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

    Hey there. Thanks for the code. I am not looking for the code to generate random colors, but to generate ids to each button automatically. With these id's I can style each button with specific colors :-)
  18. M

    Problem with uploading js to my wordpress website via plugin

    Screenshoots of filezilla and HTML field
  19. M

    Problem with uploading js to my wordpress website via plugin

    Hey there. Hope you can help me our here! I have written some js5 code, and want to upload it to my wordpress site using Elementor HTML plugin... However I cannot make it work. I have used external js and css... The HTML code I am trying to insert into the HTML custom field is: " <html...
  20. M

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

    Thanks for your input ivan.mooney! I am not sure I follow you, javascript is quite new to me... Can you give me an example from my coding, maybe? If I want to style the buttom "kedelig" (the key in the first key-value pair), how would I do that using the javascript you show me?
Back
Top Bottom