How to wrap string concatenation? Why didn't br succeed?

I stitched it in br, (the following code is deliberately misspelled) but this is the case. Why and how do I break lines?
clipboard.png

res.data.data.result.list[index].title + "" +res.data.data.result.list[index].author

"\n"
clipboard.png

Aug.05,2021

you have obviously transcoded the data, or you have used innerText instead of innerHTML


1.<br>
2.innerHTML:
:
$("p").html(" <br> "); innerHTML = " <br> ";

if it is vue, you can use {} or write vMuhtml in the tag, if it is jQuery, use innerHTML


br to wrap the line in html.
wrap the string with

 tag, while < br/ > replace n 
and refer to this:
https://codeshelper.com/q/10.


clipboard.png

you are a fake front end, br is wrong, and you also wrote two. One is fine. Write
like this, or you can use the es6 syntax:

.
`${res.data.data.result.list[index].title}<br>${res.data.data.result.list[index].author}`
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ec0e0c-488ca.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ec0e0c-488ca.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?