samedi 4 avril 2015

Trying to recreate a simple website on my local machine, but unable to do so

I've spent the last few hours trying to get a copy of this site (http://ift.tt/sYPEqO) on my local computer. I'd just like to recreate it on my machine. I've downloaded the html code from the source, the four javascript files (Three, Stats, Detector, RequestAnimationFrame) but all I see on my local machine is a black screen when I run the site. I think I am not installing some javascript package correctly(?). But, I've copied over the contents of those four javascript files from the original website, and I'm not really sure what else to install! Here's exactly what I did:



  1. Open http://ift.tt/sYPEqO Ctrl+u and copy all the html into my index.html

  2. Notice the last is missing, so I inspect element and select 'Edit as HTML' on the last div, and copy that over on my machine

  3. Save all four javascript files

  4. Run the local. See complete darkness





Aucun commentaire:

Enregistrer un commentaire