I don’t know how should I call for the results and show them on the screen, since I have to use innerText. I’ve tried a lot of different ways like calling the getRoundResults function with different parameters for each line of the code. How do I both increase the score and show the results for what I’ve tried a lot of different things.
my code looks like this rn
playerScoreSpanElement.innerText = playerScore;
computerScoreSpanElement.innerText = computerScore;
roundResultsMsg.innerText = getRoundResults(user0ption)
Oh I dont know why i am still getting that error too it doesnt make sense and i have been trying all the solutions but just can’t seem to get what codeCamp wants…tiring
it returns the respective message, but I don’t know how to do that… I’ve been trying for two days now. I did this lesson from the beggining. Look how my code is right now, don’t even know if I’m close to get it right.
it’s increasing the playerScore, but I’m trying to bring playerScore to the playerScoreSpanElement in every way I can think about and it just doesn’t work… aaaaaa
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge. How to Help Someone with Their Code Using the Socratic Method
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.