- Notifications
You must be signed in to change notification settings - Fork1
4GeeksAcademy/Josedu-generador-de-nombres
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Start coding a JS/HTML/CSS website in 30 seconds by opening this template using 4Geeks'One-Click Coding or locally on your computer.
Install the packages by typing:npm install
.
Type on the command line$ npm run start
and type localhost on the browser.
It depends on the language, but you have./src/app.js
,./src/style.css
and./src/index.html
respectively, you can add new.html
as you please, just make sure to import it on theapp.js
.
Note: remember that the JS workflow starts inside
window.onload
.
Everytime you change any file inside the./src
folder the website's public URL will automatically refresh the changes (it's a process called hot deploy)Remember also to refresh cleaning the cache (command+shift+r
on Mac,control+shift+r
on PC & Linux)
Add them inside the./src/assets/img
folder and import them from any of your JS files. E.g:import "../assets/img/rigo-baby.jpg";
Just add the files into the src folder and import the file/variables into your app.js. E.g:import myVar from "./file2.js"
This boilerplate is 100% compatible with the free GitHub pages hosting. Publish your website by running:
$ npm run deploy
Very easy and in just one step! Push to yourmain branch and use the free hosting that comes withGitHub pages, the project is ready to be published. Remember to choose to run the Github Page from your main branch.
This template was built as part of the 4Geeks AcademyCoding Bootcamp byAlejandro Sanchez and many other contributors. Find out more about ourFull Stack Developer Course,Data Science Bootcamp orCyberSecurity Bootcamp
You can find other templates and resources like this at theschool's GitHub page.
About
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.