View on GitHub

WiTNY Summer Guild 2018

The tech industry, in one week

jQuery Example code

JavaScript code – with JQuery! A LOT like the code from Coding Exercise 3, but DIFFERENT:

<!DOCTYPE html>
<html>
  <script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
  <body>

    <h1>My First Web Page</h1>

    <h3>Beginning information</h3>
    <p>My First Paragraph</p>

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

    <p id="new-para"></p>

    <script>
      $(function() {

        $("#demo").text(5 + 6);


      });
    </script>

  </body>
</html>