Is there any good app for coding and sharing web? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is there any good app for coding and sharing web?

An app or web using which I can make web.. and share it.. Moreover, the other person can see by clicking the link only? And yeah why I only see those commands whichs I write in HTML if I run a html file..?? I mean I have written javascript code too inside script tag.. but when I run the file only html code runs no javascript code?? How to overcome this?? Note: I am using android to code

1st Apr 2021, 1:42 PM
Mohammad Mehedi Hasan
Mohammad Mehedi Hasan - avatar
10 Answers
+ 2
Mohammad Mehedi Hasan regarding your response to your question, when you put something online, it is worldwide by default. If you want something to be private, you need login (authentication) functionality. I'm guessing you're not looking for that. Anyway, putting up a site online means it'll need to be hosted somewhere. I can recommend GitHub for putting up your code and GitHub pages for deploying/hosting: https://pages.github.com/ The very basics of git and GitHub are very easy to learn: https://guides.github.com/activities/hello-world/ As for your JavaScript problem, if you put up a code sample, someone could probably help you. Debugging without seeing code is not easy 😂
1st Apr 2021, 4:33 PM
CamelBeatsSnake
CamelBeatsSnake - avatar
+ 1
I don't know what the issue is because it's working for me Mohammad Mehedi Hasan . Here's exactly what I did just now. 1. I created a new file in my editor called test.html. 2. I copied your HTML and pasted it into the test.html file and saved it. 3. I opened test.html in my browser (Chrome). 4. I got a black background with the word "Hello" written in white in the browser. Try to repeat those steps and see what you get. See if you get any kind of error message. I don't know how else to help you, sorry.
2nd Apr 2021, 11:47 AM
CamelBeatsSnake
CamelBeatsSnake - avatar
0
GS, 🤔um.. I don't know how to use github😷actually I don't understand how to use it.. and I want to share with selected persons not worldwide..
1st Apr 2021, 2:39 PM
Mohammad Mehedi Hasan
Mohammad Mehedi Hasan - avatar
0
I mean I use TrebEdit for html coding... It works inside TrebEdit but if I run it with browser or HTML viewer (HTML viewer is built in) it doesn't work,, I mean I can't see javascript code result
1st Apr 2021, 4:43 PM
Mohammad Mehedi Hasan
Mohammad Mehedi Hasan - avatar
0
I don't know what TrebEdit is but my guess is your code is missing something that TrebEdit might be doing under the hood, but the browser won't be doing by default. For example, listening for a DOM load event. Again, it's impossible to say for sure without seeing your code.
1st Apr 2021, 5:18 PM
CamelBeatsSnake
CamelBeatsSnake - avatar
1st Apr 2021, 5:43 PM
Mohammad Mehedi Hasan
Mohammad Mehedi Hasan - avatar
0
I can see your JavaScript code working in the browser. As far as I can see, your JavaScript code is doing the following: 1) Writing "Hello" to the document. 2) Changing the background colour to black. 3) Changing the text colour to white. In the output, I see all of that so I don't know what the issue is.
1st Apr 2021, 5:58 PM
CamelBeatsSnake
CamelBeatsSnake - avatar
0
The issue is when I run it with HTML viewer the page shows nothing.. even the color isn't changing.. that means javascript code isn't running.. but in apps like sololearn, TrebEdit it's working
2nd Apr 2021, 11:02 AM
Mohammad Mehedi Hasan
Mohammad Mehedi Hasan - avatar
0
Do you have any fake Facebook account? or fake Email address?
2nd Apr 2021, 1:41 PM
Mohammad Mehedi Hasan
Mohammad Mehedi Hasan - avatar
0
I'm not going to answer that seeing as it's a totally irrelevant question. If you want to message me, you can message me on Sololearn.
2nd Apr 2021, 2:33 PM
CamelBeatsSnake
CamelBeatsSnake - avatar