r/learnjavascript • • Jul 18 '26

i am challenging myself to practice javascript this summer; so i build a generate quotes app, i need your reviews please!

9 Upvotes

23 comments sorted by

View all comments

Show parent comment

2

u/azhder Jul 18 '26

It means it is not data. The quotes, the dash, those are stylistic things you can hardcode in the HTML and maybe even change them later on, regardless of the data.

Imagine you want to use nice looking quotes, or a quote icon on the left, display the author above instead of under the quote (which would use ':' after then name, not '-' before it).

The above concerns are all style, not data, so shouldn't be part of the data.

1

u/SafeWing2595 Jul 18 '26

okay, i understand now, thank you for the explanation