opening a website

how do i open a website with the users default browser?

Check out the standardadditions dictionary in script editor. Under ‘Internet suite’, you’ll find…

open location ""

You should start by reading the basic documentation before posting easy stuff like this. The Finder, System Events, and standardadditions.osax dictionaries are as valuable and fundamental as you can get. They are a good starting place to discover much of the foundation of accessing system-level applescript capabilities.