Website source code

When we want to see the source code of a web page :wink:

How do we do it normally in the browser ?

On a computer, right click on the page and “view page source”

Yes I know. My text was not very clear. Yes in the browser I do this and check for errors in the “inspect source code” option of the browser.

I was comparing Mohamed’s block with the option to view browser code.
If they are the same thing, why use it?
Okay. Everything cleared up. :thumbsup:

i Need to see the source code in label text

in the Web.GotText event assign the response content to the label text property

A very good way to learn App Inventor or Kodular is to read the free Inventor’s Manual here in the AI2 free online eBook App Inventor 2 Book: Create Your Own Android Apps … the links are at the bottom of the Web page. The book ‘teaches’ users how to program with AI2 blocks.
There is a free programming course here and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps
How to do a lot of basic things with App Inventor are described here: .

Also do the tutorials Tutorials for MIT App Inventor to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor


1 Like

try this

but how can i store it as a text.

what exactly are you talking about now?

It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select “Download Blocks as Image”. You might want to use an image editor to crop etc. if required. Then post it here in the community.



I want to serach a particular text available in the source code of website.

In Chrome, you can type:
view-source:<your-url> to see the source code.

1 Like

I android app

you already received several suggestions…
now it is your turn to try something, see also tip 2 here App Inventor: How to Learn | Pura Vida Apps
and if you got stuck, then post a screenshot of your relevant blocks



In Some Browsers Like Chrome, you can type:
view-source:<your-url> to see the source code.

Use the web component

The file is saved to the apps private directory


Maybe he’s speaking about the corresponding Java code ???

Maybe or not…?

also if the code is not like working site maybe cryptographed

may this help-