diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..b512c09d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules \ No newline at end of file diff --git a/dist/assets/images/f9fb98b309f415068734.jpg b/dist/assets/images/f9fb98b309f415068734.jpg new file mode 100644 index 00000000..77c6e1ad Binary files /dev/null and b/dist/assets/images/f9fb98b309f415068734.jpg differ diff --git a/dist/assets/js/main.bundle.js b/dist/assets/js/main.bundle.js new file mode 100644 index 00000000..9fc26d5d --- /dev/null +++ b/dist/assets/js/main.bundle.js @@ -0,0 +1,216 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./src/js/app.js": +/*!***********************!*\ + !*** ./src/js/app.js ***! + \***********************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _module_a__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./module-a */ \"./src/js/module-a.js\");\n/* harmony import */ var _module_a__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_module_a__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _module_b__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./module-b */ \"./src/js/module-b.js\");\n/* harmony import */ var _scss_main_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../scss/main.scss */ \"./src/scss/main.scss\");\n\n\n\n\n//# sourceURL=webpack://webpack-basics/./src/js/app.js?"); + +/***/ }), + +/***/ "./src/js/module-a.js": +/*!****************************!*\ + !*** ./src/js/module-a.js ***! + \****************************/ +/***/ (() => { + +eval("const wrapper = document.getElementById(\"root\");\nconst footer = document.getElementById(\"footer\");\n\nclass Author {\n constructor(name) {\n this.name = name;\n }\n\n}\n\nconst and = new Author(\"Andrés\");\nconst gonz = new Author(\"Gonzalo\");\nconst copy = document.createElement(\"p\");\ncopy.className = \"footer__copy\";\ncopy.textContent = `This page was made by ${and.name} and ${gonz.name}`;\nfooter.appendChild(copy);\nconst msg = document.createElement(\"p\");\nmsg.className = \"wrapper__msg\";\nmsg.id = \"hint\";\nmsg.textContent = \"What do we need to learn developing?\";\nconst list = document.createElement(\"div\");\nlist.className = \"wrapper__list\";\nlist.innerHTML = `\n
\n
\n
\n`;\nwrapper.append(msg, list);\n\n//# sourceURL=webpack://webpack-basics/./src/js/module-a.js?"); + +/***/ }), + +/***/ "./src/js/module-b.js": +/*!****************************!*\ + !*** ./src/js/module-b.js ***! + \****************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _img_code_svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../img/code.svg */ \"./src/img/code.svg\");\n/* harmony import */ var _img_joystick_jpg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../img/joystick.jpg */ \"./src/img/joystick.jpg\");\n/* harmony import */ var _img_ping_pong_png__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../img/ping-pong.png */ \"./src/img/ping-pong.png\");\n/* harmony import */ var _img_assembler_png__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../img/assembler.png */ \"./src/img/assembler.png\");\n/* provided dependency */ var $ = __webpack_require__(/*! jquery */ \"./node_modules/jquery/dist/jquery.js\");\n\n\n\n\nconst btns = $(\"
\").attr(\"id\", \"btns\").addClass(\"wrapper__btns\");\nbtns.append($(\"