How do you code im new

from your profile it looks like you want to start with websites? Replit has a tutorial for that. And then, to add interactivity to your website, that link also has JS tutorials.
If you have any specific questions, do ask them, editing your post to follow the guidelines.