Hi @dsonesuk when i added your correction to my code it threw out all of my entrys, i started to get undefined on the course codes at the end and my GPA calculator at the end started to show all sorted of random numbers below is the whole code to give you a better understand any thoughts?
<script>
var coursecode =["ACC1101","ACC3118","ACC5202","ACC5213","ACC5216","ACC5502","ACC8000","ACC8003","ACC8105","AGR2302","AGR3303","AGR3304","AGR3305","AGR4305","ANT1001","ANT2005","ANT2008","ANT3006","BCA3000","BCA4000","BCA8003","BIO1101","BIO1103","BIO1104","BIO1203