All Projects → 4GeeksAcademy → vanillajs-hello

4GeeksAcademy / vanillajs-hello

Licence: MIT License
Start a VanillaJS website using WebPack in just 30 seconds: HTML,CSS,Babel,SASS,Bootstrap,Prettier,Gitpod

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to vanillajs-hello

tensorflowjs-remove-background
Remove Background from the picture using WebAssembly & TensorFlow.js
Stars: ✭ 79 (+229.17%)
Mutual labels:  vanilla-javascript, vanilla-js, vanillajs
Bs Custom File Input
A little plugin for Bootstrap 4 custom file input
Stars: ✭ 162 (+575%)
Mutual labels:  vanilla-javascript, vanilla-js, vanillajs
Vanilla Ui Router
Simple vanilla JavaScript router
Stars: ✭ 42 (+75%)
Mutual labels:  vanilla-javascript, vanilla-js, vanillajs
bs-breakpoints
A plugin which detect Bootstrap 4 breakpoints and emit when there is a change
Stars: ✭ 22 (-8.33%)
Mutual labels:  vanilla-javascript, vanilla-js, vanillajs
Bs Stepper
A stepper for Bootstrap 4.x
Stars: ✭ 261 (+987.5%)
Mutual labels:  vanilla-javascript, vanilla-js, vanillajs
Learn Vanilla Js
Open source list of paid & free resources to learn vanilla JavaScript
Stars: ✭ 945 (+3837.5%)
Mutual labels:  vanilla-javascript, vanilla-js, vanillajs
Vanillajs Deck
A Vanilla.js Single Page App (SPA) slide deck for a presentation about Vanilla.js written with no frameworks.
Stars: ✭ 119 (+395.83%)
Mutual labels:  vanilla-javascript, vanilla-js, vanillajs
curved-menu
VanillaJS fully configurable curved menu (circular navigation)
Stars: ✭ 30 (+25%)
Mutual labels:  vanilla-javascript, vanilla-js
BVSelect-VanillaJS
BVSelect - Vanilla Javascript Fully Customizable SelectBox
Stars: ✭ 107 (+345.83%)
Mutual labels:  vanilla-javascript, vanillajs
tabbis.js
Pure vanilla javascript tabs with nesting
Stars: ✭ 44 (+83.33%)
Mutual labels:  vanilla-javascript, vanilla-js
svelte-googlemaps
Svelte Google Maps Components
Stars: ✭ 62 (+158.33%)
Mutual labels:  vanilla-javascript, vanillajs
js-plugin-starter-kit
VanillaJS (pure JavaScript) plugin starter with Webpack 4 and Babel 7.
Stars: ✭ 100 (+316.67%)
Mutual labels:  vanilla-javascript, vanilla-js
Datepickk
Simple, beautiful and powerful datepicker!
Stars: ✭ 160 (+566.67%)
Mutual labels:  vanilla-javascript, vanillajs
coding challenge-14
Understanding JavaScript and coding without the help of a library or tool
Stars: ✭ 22 (-8.33%)
Mutual labels:  vanilla-javascript, vanilla-js
vanilla-js-drawer
A dependency-free Vanilla JS drawer. No dependencies, no automation build tools.
Stars: ✭ 20 (-16.67%)
Mutual labels:  vanilla-javascript, vanilla-js
Mailtoui
A simple way to enhance your mailto links with a convenient user interface.
Stars: ✭ 162 (+575%)
Mutual labels:  vanilla-javascript, vanilla-js
mm-components
Music Markups components
Stars: ✭ 50 (+108.33%)
Mutual labels:  vanilla-javascript, vanilla-js
event-driven-web-components-realworld-example-app
Exemplary real world application built with Vanilla JS Web Components in an Event Driven Architecture
Stars: ✭ 55 (+129.17%)
Mutual labels:  vanilla-javascript, vanilla-js
tablist
WAI-ARIA tab plugin without dependencies.
Stars: ✭ 21 (-12.5%)
Mutual labels:  vanilla-javascript, vanilla-js
add-to-calendar-button
A convenient JavaScript snippet, which lets you create beautiful buttons, where people can add events to their calendars.
Stars: ✭ 697 (+2804.17%)
Mutual labels:  vanilla-js, vanillajs

Hello World with Vanilla JS

Start coding in 30 seconds by opening this template in gitpod: Open in Gitpod

Manual Installation

  1. Remember to install the npm packages first:
$ npm install
  1. Build and Start coding!

Build the application for the first time...

$ npm run start

And start coding your Vanilla.js application, update the src/index.html, src/index.css or src/app.js depending on your needs.

FAQ

1) How do I run my code?

  • Type on the command line $ npm run start and type localhost on the browser.

2) Where do I write my code?

It depends on the language, but you have ./src/js/app.js, ./src/style/index.css and ./isrc/index.html respectively, you can add new .html as you please, just make sure to include import it on the index.js.

Note: remember that the JS workflow starts inside window.onload.

3) I don't see my changes.

Everytime you change any file inside the ./src folder the website 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)

4) How do I include more images on my project?

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";

5) How do I include more JS files?

Just add the files into the JS folder and import the file/variables into your index.js. E.g: import myVar from "./file2.js"

6) How do I publish the website?

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 your master branch and use the free hosting that comes with GitHub pages, the project is ready to be published. Remember to choose to run the Github Page from your master branch.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].