Ask coding questions

← Back to all posts
Why is my Post View Counter not Viewing?
RayhanADev (1948)

^ that should be an SVG that display's the amount of views this page has.
However for some odd reason it doesn't work?

My path's are:

  • /create?name=[countername]&password=[password]
  • /delete?name=[countername]&password=[password]
  • /viewcount/[countername]

Any help debugging is appreciated or if you know a solution please do tell!

Answered by Coder100 (16840) [earned 5 cycles]
View Answer
Coder100 (16840)

first off make sure replit even allows svgs to be displayed.

or maybe markdown is broken

ok conclusion: replit doesn't like URLs without a prefix (citation needed), so add a prefix:


probably because people were doing the logout 'image' which was: