Tell us what’s happening:
In step 102 it is asking me to create an empty sellWeapon function. I wrote:
function sellWeapon() {
}
Yet it still says “You should use the function keyword to declare a sellWeapon variable.” I am very confused at what is wrong.
Your code so far
/* file: script.js */
// User Editable Region
function sellWeapon() {
}
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Challenge Information:
Learn Basic JavaScript by Building a Role Playing Game - Step 102
Hello and welcome to the forum community @lovelylunatik !
I was able to submit it using a different browser.
My usual one Firefox would not submit it for me.
I cannot see your code above the provided code. But, the provided code appears to be correct.
If you can, I suggest trying to submit from a different browser, or:
clear the cache,
disable any extensions,
dark mode may interfere with submitting the code too.
Try these and if none of them work, please post your complete code on this post?
Wishing you good progress on your coding journey. 
1 Like
I used to work in tech support- highly embarrassed I didn’t think to clear the cache first
That seemed to do the trick! Was able to submit from Chrome with no issues. Thanks for the suggestion!
1 Like