File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change
1
+ //for debugging
2
+ console . log ( 'Im in your console. Inspect Element > Console.' ) ;
3
+
4
+
1
5
// Grab the intro element
2
6
// https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementById
3
7
var intro = document . getElementById ( "intro" ) ;
4
8
9
+ console . log ( intro ) ;
10
+
5
11
// 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";
8
14
9
- //for debugging
10
- console . log ( 'Im in your console. Inspect Element > Console.' ) ;
Original file line number Diff line number Diff line change 9
9
10
10
< body >
11
11
< h1 > A Guide to Exploring San Francisco</ h1 >
12
- < p id ="intro "> </ p >
12
+ < p id ="intro "> Intro here </ p >
13
13
< nav >
14
14
< ul >
15
15
< li > Best Time to Visit</ li >
You can’t perform that action at this time.
0 commit comments