Made a OOP JS quiz app - feedback

Hello,

I made this terminal quiz app, using OOP JS. I wanted to practice OOP.
Please let me know what you think!

Thanks!
A

Hey there,

great work!

Is there a specific reason you use the prototype syntax?
I think the class syntax has some advantages, e.g. the similarity to other languages.

1 Like

thanks!!! I used es5 instead of es6… as practice… for my next oop project I will use es6… I want to learn both well and see which has more advantages… what are your thoughts on es6 vs es5 classes to constructors?

1 Like

I like the ES6 class syntax with constructor,
it’s less verbose and also easier to grasp for people who come from other OOP languages.

1 Like

I love it,I love it that you are practicing your skills,what you can do with the languages you are learning,keep up the good work(Of course I am happy)

1 Like

i will use class in my next project.

1 Like