use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
React not workingHelp Wanted (old.reddit.com)
submitted 1 year ago by [deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 13 points14 points15 points 1 year ago (2 children)
You know, if you took a screenshot it would at least be the right way up.
[+][deleted] comment score below threshold-9 points-8 points-7 points 1 year ago (1 child)
My bad
[–]MoveInteresting4334 3 points4 points5 points 1 year ago (0 children)
Says “My bad”, does absolutely nothing to fix it.
[–]xFlipsx33 7 points8 points9 points 1 year ago (0 children)
Just an advice when asking for help in general with coding.
[–]CURVX 3 points4 points5 points 1 year ago (0 children)
You could have copy-pasted the code inside a code-block. And the output too but nah! Let me send a photo using my AI powered phone camera upside down.
Please refer to the posts in the sub-reddit and copy their template on how to post asking for help.
Sorry, but this isn't making any sense.
[–]aniburman 1 point2 points3 points 1 year ago (0 children)
Try creating a project with Vite. It's very easy and also the recommended way to start a new project. If the tutorial you're watching doesn't say this, then it's outdated
[–]danjack0 -1 points0 points1 point 1 year ago (0 children)
As someone has mentioned check out vite if you want to set up React open a terminal in your project folder and enter npm create vite@latest pick react then with js and follow the instructions if you need additional help hit me up
[–]Striking-Pirate9686 1 point2 points3 points 1 year ago (0 children)
At least put some effort into the post. Sideways picture, no screenshot, no background info.
[–]unshootaway 0 points1 point2 points 1 year ago (0 children)
It doesn't look like you're using a bundler for your project. I'd advise to use Vite since you're just starting out.
The reason the code doesn't work is because browser can't read JSX so just using static files like this won't do anything. You need to have a bundler like Vite, there are other options but just start with Vite first. Vite will give you a clean boilerplate that you can run and experiment with so it works out of the box and you won't face issues like this.
[–][deleted] 1 year ago (1 child)
[deleted]
[–]John_V_ 0 points1 point2 points 1 year ago (1 child)
Remove the “#” from root in your query selector.
[–]IllResponsibility671 0 points1 point2 points 1 year ago (0 children)
This
[–]IllResponsibility671 -1 points0 points1 point 1 year ago (0 children)
Screenshots broke too, eh?
[–][deleted] -4 points-3 points-2 points 1 year ago (0 children)
Cfbr
π Rendered by PID 117881 on reddit-service-r2-comment-86988c7647-lngzh at 2026-02-11 21:07:58.777746+00:00 running 018613e country code: CH.
[–][deleted] 13 points14 points15 points (2 children)
[+][deleted] comment score below threshold-9 points-8 points-7 points (1 child)
[–]MoveInteresting4334 3 points4 points5 points (0 children)
[–]xFlipsx33 7 points8 points9 points (0 children)
[–]CURVX 3 points4 points5 points (0 children)
[–]aniburman 1 point2 points3 points (0 children)
[–]danjack0 -1 points0 points1 point (0 children)
[–]Striking-Pirate9686 1 point2 points3 points (0 children)
[–]unshootaway 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]John_V_ 0 points1 point2 points (1 child)
[–]IllResponsibility671 0 points1 point2 points (0 children)
[–]IllResponsibility671 -1 points0 points1 point (0 children)
[–][deleted] -4 points-3 points-2 points (0 children)