|
| 1 | +# Manage Landing Page |
| 2 | + |
| 3 | +This is a solution to the **Manage Landing Page** challenge from [Frontend Mentor](https://frontendmentor.io) |
| 4 | + |
| 5 | +## Preview |
| 6 | + |
| 7 | +Get a glance of the project solution. |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | +## Tools and Languages |
| 12 | + |
| 13 | +Different tools and languages used to create this project. |
| 14 | + |
| 15 | +### Tools |
| 16 | + |
| 17 | +- Visual Studio Code |
| 18 | +- [Vite](https://vitejs.dev) |
| 19 | +- Firefox |
| 20 | +- Brave |
| 21 | +- [Validator - A library to validate forms]() |
| 22 | +- [Bootstrap Icons](https://icons.getbootstrap.com) |
| 23 | +- [Splide](https://splidejs.com/) |
| 24 | + |
| 25 | +### Languages |
| 26 | + |
| 27 | +- SCSS |
| 28 | +- HTML |
| 29 | +- CSS |
| 30 | +- JavaScript |
| 31 | + |
| 32 | +## Process |
| 33 | + |
| 34 | +How I started creating this project with the help of Vite. |
| 35 | + |
| 36 | +### Creating Application and installing dependencies |
| 37 | + |
| 38 | +``` |
| 39 | +npm create vite@latest -- --template vanilla app |
| 40 | +``` |
| 41 | + |
| 42 | +This will create a new Vite application with some boilerplate code. |
| 43 | + |
| 44 | +``` |
| 45 | +cd app |
| 46 | +
|
| 47 | +npm install |
| 48 | +``` |
| 49 | + |
| 50 | +Then we need to `cd`(change directory) into the `app` folder and install all the dependencies using `npm install` |
| 51 | + |
| 52 | +### Installing SASS/SCSS dependency |
| 53 | + |
| 54 | +``` |
| 55 | +npm add sass -D |
| 56 | +``` |
| 57 | + |
| 58 | +This command will install the SCSS package so that Vite can compile our SCSS to CSS. |
| 59 | + |
| 60 | +``` |
| 61 | +npm run dev |
| 62 | +``` |
| 63 | + |
| 64 | +This command will open a dev server on your local machine. |
| 65 | + |
| 66 | +### Using Splide to create the carousel |
| 67 | + |
| 68 | +Creating an interactive and responsive carousel with Splider. |
| 69 | + |
| 70 | +### Linking Splide with cdn |
| 71 | + |
| 72 | +Link Splide with core js and css styles using the CDN |
| 73 | + |
| 74 | +```html |
| 75 | +<!-- Javascript for Splide --> |
| 76 | +< script src= "https://cdn.jsdelivr.net/npm/@splidejs/[email protected]/dist/js/splide.min.js"></ script> |
| 77 | + |
| 78 | +<!-- Default CSS styles for Splide --> |
| 79 | +<link |
| 80 | + href= "https://cdn.jsdelivr.net/npm/@splidejs/[email protected]/dist/css/splide.min.css" |
| 81 | + rel="stylesheet" |
| 82 | +/> |
| 83 | +``` |
| 84 | + |
| 85 | +We need to create the markup that will work accordingly with Splider. |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | +This is the first time I'm creating a carousel and thankfully, this library helped me create it without a hassle. |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | +## What I learned making this project |
| 94 | + |
| 95 | +I was able to enhance my CSS `grid` and `flex` knowledge and create some complex layouts included in this design. |
| 96 | + |
| 97 | +Also, learned to make buttons that look and feel good to the eyes with a balanced color, spacing and size. |
| 98 | + |
| 99 | +## Links |
| 100 | + |
| 101 | +- Live site URL: [Netlify](https://manage-landing-code-beaker.netlify.app/) |
| 102 | +- Repository URL: [Code-Beaker/manage-landing-page](https://github.com/Code-Beaker/manage-landing-page-code-beaker) |
0 commit comments