Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 6 additions and 6 deletions.
  1. +3 −3 index.html
  2. +3 −3 part_04.html
View
6 index.html
@@ -40,7 +40,7 @@
<html>
<head>
<title>This is a document</title>
- <span class="imp">&lt;script href=&quot;js/script.js&quot;&gt;&lt;/script&gt;</span>
+ <span class="imp">&lt;script src=&quot;js/script.js&quot;&gt;&lt;/script&gt;</span>
<span class="imp">&lt;script&gt;</span>
/* code goes here */
<span class="imp">&lt;/script&gt;</span>
@@ -49,7 +49,7 @@
<span class="imp">&lt;script&gt;</span>
// also allowed here
<span class="imp">&lt;/script&gt;</span>
- <span class="imp">&lt;script href=&quot;js/script2.js&quot;&gt;&lt;/script&gt;</span>
+ <span class="imp">&lt;script src=&quot;js/script2.js&quot;&gt;&lt;/script&gt;</span>
&lt;/body&gt;
&lt;/html&gt;
</pre>
@@ -524,4 +524,4 @@
<script src="slides.js"></script>
- </body> </html>
+ </body> </html>
View
6 part_04.html
@@ -199,9 +199,9 @@
color: window.prompt('Favorite Color'),
tool: window.prompt('Analog Printer?'),
count: window.prompt('Favorite Number?'),
- message: answers.count + ' ' + answers.color + ' ' + answers.tool + 's',
+ message: function() { return answers.count + ' ' + answers.color + ' ' + answers.tool + 's'; },
annoy: function(){
- alert('You told us: ' + answers.message);
+ alert('You told us: ' + answers.message());
}
};
answers.annoy();</pre>
@@ -309,4 +309,4 @@
<script src="slides.js"></script>
- </body> </html>
+ </body> </html>

No commit comments for this range

Something went wrong with that request. Please try again.