syntax.us Let the syntax do the talking
Blog Contact Posts Questions Tags Hire Me

Question:
What is 2016_0117 Code Challenge?

The 2016_0117 Code Challenge is a learning exercise for students attending this Meetup:

http://www.meetup.com/Dans-Linux-JavaScript-Class/events/228067791

We are guided by the content here:

https://learn.jquery.com/

Today we will follow links on the left-hand-side of the above page.

We start with two lines of syntax:

<html>
</html>
Then, more:

<html>
  <head>
    <script src="https://code.jquery.com/jquery-1.11.3.js"></script>
  </head>
  <h1>Dan was here.</h1>
</html>
Next, more:

<html>
  <head>
    <script src="https://code.jquery.com/jquery-1.11.3.js"></script>
  </head>
  <body>
    <script>
      var hello = 123
      $( "h1" ).remove();
      'bye'
    </script>
    <h1>Dan was here.</h1>
    <h2>Dan was here 2.</h2>
  </body>
</html>
And, more:

<html>
  <head>
    <script src="https://code.jquery.com/jquery-1.11.3.js"></script>
  </head>
  <body>
    <h1>Dan was here.</h1>
    <script>
      var hello = 123
      $( "h1" ).remove();
      'bye'
    </script>
    <h2>Dan was here 2.</h2>
  </body>
</html>
And this is more:

<html>
  <head>
    <script src="https://code.jquery.com/jquery-1.11.3.js"></script>
  </head>
  <body>
    <script>
      // A $( document ).ready() block.
      $( document ).ready(function() {
          console.log( "ready!" );
      });

      var hello = 123
      $( "h1" ).remove();
      'bye'
    </script>
    <h1>Dan was here.</h1>
    <h2>Dan was here 2.</h2>
  </body>
</html>
But wait, there is more:

<html>
  <head>
    <script src="https://code.jquery.com/jquery-1.11.3.js"></script>
  </head>
  <body>
    <script>
      // A $( document ).ready() block.
      $( document ).ready(function() {
        console.log( "ready!" );
        var hello = 123
        $( "h1" ).remove();
        'bye'
      });
    </script>
    <h1>Dan was here.</h1>
    <h2>Dan was here 2.</h2>
  </body>
</html>
That is all for now.

During the Meetup, either help others understand jQuery or get help from helpful people.

If you are not at the Meetup, e-me: bikle101@gmail.com


syntax.us Let the syntax do the talking
Blog Contact Posts Questions Tags Hire Me