Hosting our first project - Relative and Absolute path

 ! + enter 

Deployment

Deploying a Website Moving the website code onto a remote machine ("server") that serves the site to visitors.

Hosting the remote machine ("Server ") hosts stores the website code and servers it to visitors.

If a website should be visited by other people needs to be a hosted 

How the web works 

client(Frontend) requests "I want to view the website"

response "Here are the instructors for the browser"

server (backend) Website code (Browser instructions)

https://app.netlify.com/drop

https://www.netlify.com/ 

https://remarkable-otter-05abc7.netlify.app/full-week.html  first project

Relative vs Absolute Paths

Relative Path 

images/my-image.jpg

looks for files and folders relative from the source file (ie the file that contains this path )

Absolute Path

/images/my-image.jpg

Look for the files and folders relative from the root folder(ie the main project folder that is being served)

Comments

Popular posts from this blog

Events Js