- 1

I want to do paragraph1 to code JavaScript like var paragraph in top. I code HTML in my code. Thanks you.

javaScript paragraph1 and em and strong. https://code.sololearn.com/W7X23Xr6u2c8/?ref=app

25th Feb 2021, 11:55 AM
Malick Diagne
Malick Diagne - avatar
4 Respostas
0
I do not understand the question. Please elaborate.
26th Feb 2021, 4:27 AM
Wilbur Jaywright
Wilbur Jaywright - avatar
0
I want to do em and strong inside p element JavaScript. Thanks you
26th Feb 2021, 4:30 AM
Malick Diagne
Malick Diagne - avatar
0
well, you dont need very complex code to change something to bold (or strong as you say). but if it’s supposed to be bold to start with, you don’t need JavaScript at all. just put <b>the bold text here</b> and then so on.
26th Feb 2021, 4:43 AM
Wilbur Jaywright
Wilbur Jaywright - avatar
0
this is an example that i made from another user’s code with the same question https://code.sololearn.com/W71txJNX29M5/?ref=app
26th Feb 2021, 4:45 AM
Wilbur Jaywright
Wilbur Jaywright - avatar