Have you tried using your error console? There are quite a few errors, including spelling errors onclick="calcaulateTotal". You <head> tag is in the wrong place - should come after <html>.
<meta http-equiv="content-type" content="text/html; " />
is in the wrong place.
The name of the form must be in quotes - <form name= "subscriptions">
Likewise <div id="ongoing">
Likewise name="frequency" value="r" // the value is the literal letter r
Your script does not capture the values entered by the user.
var quantity // just declares the variable.
"Knowledge is of no value unless you put it into practice.” - Anton Chekhov (Russian playwright and master of the modern short story, 1860-1904)
All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.