+ 1
When you want to make a book in JS, then how do you put text other than the page nmr. on the page?
5 Answers
+ 1
you could organize your data into a javascript object, and iterate through that to buld your pages
https://code.sololearn.com/Ww9YGRfkZhjn/?ref=app
+ 1
https://code.sololearn.com/WXKuyjB6zZp6/?ref=app
+ 1
TY!
0
What's wrong with my code? It says"Unexpected Number: Line:12" but there's no problem with lines 12-16!
0
skaffyy
you have a duplication on line 13. also break up the text because text-align:justify would not work on one very long string.. You also renamed the buttons id, the javascript querySelector should also be changed.
https://code.sololearn.com/WxeXh2X3xbZQ/?ref=app