javascript – I would like to know what I can do to make this code work completely

I am new in this world of creating applications and Java codes and etc … I started a week ago to enter that world, and I am very secular in that matter. I am trying to create a webview application by the platform called sketchware, which is an application available in the play store that allows you to create your own application. Well, I created a webview application, which loads the page of my website, only my site has pop-up ads that appear out of nowhere so you click somewhere on the page, and that's what that I want (in the case of a webview application, that opens the link of the pop-up ads of the site (when clicked) in the external browser (Chrome type) and only open the links within the webview application based on my own site, the pages of my site, and not the pages of the ads when clicked, so I was wondering how I can add this code (which I will leave below), in my webview application done in sketchware.

The problem is that nothing can be done, but I do not know what to do, but I do not know what to do. And there always appear two massages here: "myWebView is not resolved".

But I do not know what to do to try to solve this code to make it work. I do not understand almost anything, and I do not know how to fix that code so I do not give that error anymore. Can someone help a beginner like me solve this problem? I thank you from now!

myWebView.setWebViewClient (new WebViewClient () {
@ Override
public boolean shouldOverrideUrlLoading (WebView view, String url) {

(url.contains ("http://www.seuendereco.com")) {}
myWebView.loadUrl (url);
return false;
}} else {
Intent int = new Intent (Intent.ACTION_VIEW);
intent.setData (Uri.parse (url));
startActivity (intention);
return true;
}

}
});

image showing the sketchware saying that the code is giving error