How can I try my code work on my phone?

39 Views Asked by At

I'm working on a website and I have the HTML5 and CSS3 in my laptop and still didn't host it. Is there any way to open my HTML file from my phone 6 eventough it's not hosted?

1

There are 1 best solutions below

1
RonaldB On

if if understood right you mean watching your html page in your cellphone if you have XAMPP you gotta puts your html into the folder htdocs in xampp then you gotta get the ip from you computer and in a browser in your cell you have to do this ip:port/page.hml an example is this were my ip 192.168.2.251:80/index.html also you gotta be connected in the same network