HTML Basics Dicsussion

I tried accessing the python webserver and got an error message

This site can’t be reached

127.0.0.1 refused to connect.

Try:

ERR_CONNECTION_REFUSED

My connection is wireless so I am unsure if this could be the issue and I am just learning to use a mac which i bought to do this course so I don’t know if it is the firewall? Should it be this hard, I am really giving up hope!

Thanks,
Paula

You need not start a python server to host a simple html like this. Just go to your html file and click open in browser. This way you can view your simple website. No server, no hassle. :slight_smile:

hi, i’m writing my code html on Atom but i don’t know how to activate the browser window tab to be able to see my job, i have a macbook pro

Just copy the path of your html file from your finder and then paste it in your browser.

Alternatively, you can right click on your html file and say “Open With” a browser.

This will run your code on the browser successfully. :slight_smile:

1 Like

thank you bro got it now

1 Like

When I type lorem and then press tab,on the Atom side it just puts everything in one line though on the browser window it puts it into a paragraph.How do I get it into a praragraph on the Atom side as well?

here goes…geronimo!

1 Like

I can’t word this question properly fyi.

I type this into console:
print(“R”, 2, “D”, 2);

and the print preview (i think its called) keeps popping up. (no matter what I want to print)

is there an option to disable this? Can I type it differently?

How far along are you?