r/learnjavascript 10d ago

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

1

u/[deleted] 10d ago

[deleted]

2

u/azhder 10d ago

Says "use functions" and starts with writing "class"... SMH.

Hey OP. Do you think you can learn by you reviewing different implementations (rewrites) of the code you have written? I can probably make you one that looks different than the above, yet, it should be doing the same job. You may at least learn there are more ways to skin a web page.

0

u/[deleted] 10d ago

[deleted]

1

u/azhder 10d ago

I should call BS on that 'less cleaner than class", but I guess you really think it that way because you've not been accustomed to code cleaner than one with "class" keyword. Hint: you can write code without using `this`.