No such file or directory

Hi guys can someone please help?

here it says I can add path so I can run my script.sh from whichever path I am!
https://www.codecademy.com/paths/web-development/tracks/learn-the-command-line/modules/bash-scripting/lessons/learn-bash-scripting/exercises/introduction

I did all this and done lots of googling! but still get the error “No such file or directory”
“-bash: ~/bin/:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin: No such file or directory”
what should I do to make my script.sh available from wherever I want?