Skip to main content

All Questions

8 votes
3 answers
402 views

Stopwatch interface OOP (Vanilla JS)

I'm learning OOP and the first exercise of the course was to made a Stopwatch class. I did it really fast and decided to make an interface for this little app. I created the interface. Basically I ...
nabla-f's user avatar
  • 173
4 votes
3 answers
2k views

Basic orbiting planets in P5.js

I started studying JavaScript about a week ago and I would like some opinions and advice on my code. This program just creates a canvas and instantiates 5 planets that orbit around a sun, giving them ...
Clepsyd's user avatar
  • 233
10 votes
2 answers
273 views

There Was an Old Lady - generate lyrics to a cumulation song

This is a problem from exercism.io. View the repo here (contains full example of song). Problem statement: Generate the lyrics of the song 'I Know an Old Lady Who Swallowed a Fly'. While you could ...
jsuth's user avatar
  • 857
1 vote
1 answer
66 views

ES6 class that generates an area where you can draw on a page

I have the following javascript es6 class (along with some functions) that generates an area where you can draw in a page. ...
cssGEEK's user avatar
  • 947
4 votes
2 answers
284 views

Library system manager

I'm new to JavaScript OOP and still playing around with it. I have put together a few specific questions over specific details throughout the code that are bothering me. I wanted my ...
JSextonn's user avatar
  • 686