Hi folks!

I have been given a task from school.
I've been asked to create a program that will keep track of how many books are sold and price of each book.
This program should allow me to enter each book name and price. It should also calculate the total price of the books and display it on screen.

I am new to Javascript and no idea where to start, apart from the fact it has to do with Arrays?

Any help will be much appreciated!