Skip to content

Commit 115ef30

Browse files
committed
update
1 parent 29d5cdb commit 115ef30

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

public_html/app.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1+
//for debugging
2+
console.log('Im in your console. Inspect Element > Console.');
3+
4+
15
// Grab the intro element
26
// https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementById
37
var intro = document.getElementById("intro");
48

9+
console.log(intro);
10+
511
// Put some text in there
6-
intro.textContent = "Hi. I'm in here.";
7-
intro.textContent += "This just got added";
12+
//intro.textContent = "Hi. I'm in here.";
13+
//intro.textContent += "This just got added";
814

9-
//for debugging
10-
console.log('Im in your console. Inspect Element > Console.');

public_html/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<body>
1111
<h1>A Guide to Exploring San Francisco</h1>
12-
<p id="intro"></p>
12+
<p id="intro">Intro here</p>
1313
<nav>
1414
<ul>
1515
<li>Best Time to Visit</li>

0 commit comments

Comments
 (0)