Assessment wanted for Silly story generator!

I’M DONE. Please, can someone help me with this?

I reviewed it tons of times and it seems to be okay… but when I insert a random name it doesn’t upload the story.

I’d really appreciate some help

The link is this: https://codepen.io/GabriPast_04/pen/VwbVmEy

Hi @Gabriele and welcome to the community :wave:

When I insert a name in your codepen and click on the button, I see the name in the story. So this works as intended.
Something that doesn’t work at the moment: When I select “UK” the two values are displayed as “NaN” (Not a Number). This happens because you add the string inside Math.round. When you correct this mistake, I think everything is correct.

Keep up the good work and have a nice Sunday!
Michael

Thank you so much!!, you too!

Update: I managed to solve the centigrade error (my bad :p) and it all works in Codepen, but if I open my index file on my browser it doesn’t upload my story! Why?

1 Like

Second Update: In my index.html file I wrote instead of <script src … >

So now it’s solved!

1 Like

Glad you could solve your local issue!

I looked at your updated pen and now everything is correct :tada: Congratulations! :medal_sports:

Feel free to come back with more assessments or questions.
I’m happy to help out :slightly_smiling_face:

Michael

1 Like