www.webdeveloper.com

Search:

Type: Posts; User: hilarylaw

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    2,153

    can i ask you another question?

    can i ask you another question?


    <!DOCTYPE html>
    <html>
    <body>

    <p>Given that x=10 and y=5, calculate x%=y, and display the result.</p>
    <button onclick="myFunction()">Try it</button>
  2. Replies
    5
    Views
    2,153

    thx JMRKER I have tried taking out either the...

    thx JMRKER

    I have tried taking out either the "x=" or "+x",
    it's x= and 7 respectively.
    Is there any importance for writing "x=" in the function? Can I omit it?

    There is another example:...
  3. Replies
    5
    Views
    2,153

    a very elementary JavaScript question

    <!DOCTYPE html>
    <html>
    <body>

    <p>Given that y=5, calculate x=y+2, and display the result.</p>
    <button onclick="myFunction()">Try it</button>

    <p id="demo"></p>

    <script>
Results 1 to 3 of 3
HTML5 Development Center



Recent Articles