JavaSript. Selecting Elements | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

JavaSript. Selecting Elements

The first question. Not enough room to type in my answer for the second fill in the blank question. A missing paranthesis.

26th Nov 2019, 1:14 AM
Sherlock Holloman
Sherlock Holloman - avatar
11 Answers
+ 4
Good luck too Ipang.
26th Nov 2019, 6:26 AM
Sherlock Holloman
Sherlock Holloman - avatar
+ 1
It's in the Selecting Elements Chapter. The first question. Thanks for responding.
26th Nov 2019, 3:25 AM
Sherlock Holloman
Sherlock Holloman - avatar
+ 1
Is this the one? Fill in the blanks to select an element with id="text" and change its content to "Hi" I wrapped the text to fill in with <> brackets just to be clear. <var> ob = document.getElementById("<text>"); <ob>.innerHTML = "Hi";
26th Nov 2019, 5:21 AM
Ipang
+ 1
Thanks Ipang for your help! I was stuck on that question. Don't know how you did that but thanks again!
26th Nov 2019, 5:46 AM
Sherlock Holloman
Sherlock Holloman - avatar
+ 1
You're welcome, I haven't finished JavaScript tutorial either. Gotta sort it out soon : ) Well good luck with the next chapters ahead! 👍
26th Nov 2019, 5:50 AM
Ipang
+ 1
var text ob
21st Feb 2021, 4:40 AM
Kamronbek Namozov
Kamronbek Namozov - avatar
0
HTML Tutorial right? Which chapter please? let me check it out. And tell also what you type as an answer.
26th Nov 2019, 3:17 AM
Ipang
0
It's the JavaScript Tutorial. Selecting Elements Chapter. The first question.
26th Nov 2019, 4:11 AM
Sherlock Holloman
Sherlock Holloman - avatar
0
dudes just follow ipang's method but just remove the brackets
13th Aug 2020, 11:33 AM
omo daniel
omo daniel - avatar
0
sorry imeant to say greater than and less than signs but anyway ipang's method is the best
13th Aug 2020, 11:34 AM
omo daniel
omo daniel - avatar
0
var text
21st Feb 2021, 4:39 AM
Kamronbek Namozov
Kamronbek Namozov - avatar