samuelkinyanjui / awesomeBooksWitES6sm

This is task done to practice modules in es6
MIT License
3 stars 0 forks source link

Updated the projects #1

Open samuelkinyanjui opened 1 year ago

samuelkinyanjui commented 1 year ago

Created a new directory and initialize it with git. Use npm init -y command to create package.json file. Create the entry point for your JavaScript code called index.js Create index.css file for your styles. Create the main index.html file. Link your index.js and index.css files there. Create a directory called modules. Re-create your Awesome books app following the rules:

Use ES6 syntax. Divide your code into modules. Create a separate file for each module in the modules directory. Import modules into the index.js file Refactor your functions to arrow functions. Use let and const in the correct way. Display the current date below the navigation bar.

Display date below the menu