Skip to content

Commit cf1efd0

Browse files
committed
create README.md
1 parent 0a96a98 commit cf1efd0

6 files changed

+106
-3
lines changed

README.md

+102
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
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+
![Preview of the Project](manage-readme-preview.jpg)
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+
![splide HTML](image-1.png)
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+
![Splide usage image](image.png)
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)

app/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ <h2 class="section__heading testimonials__heading">
172172
</h2>
173173
<!-- SPLIDE SLIDES -->
174174
<div class="splide" role="group" aria-label="Splide Basic HTML Example">
175-
<div class="splide__track">
175+
<li class="splide__track">
176176
<ul class="splide__list">
177177
<li class="splide__slide">
178178
<article class="testimonials__item">
@@ -219,7 +219,7 @@ <h3 class="testimonial__name">Richard Watts</h3>
219219
</p>
220220
</article>
221221
</li>
222-
<div class="splide__slide">
222+
<li class="splide__slide">
223223
<article class="testimonials__item">
224224
<img
225225
src="assets/images/avatar-shanai.png"
@@ -233,7 +233,7 @@ <h3 class="testimonial__name">Shanai Gough</h3>
233233
in-sync without being intrusive.”
234234
</p>
235235
</article>
236-
</div>
236+
</li>
237237
</ul>
238238
</div>
239239
</div>

app/main.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import validator from "validator";
22
import isEmail from "validator/lib/isEmail";
33
import "./typeScales.css";
4+
import "./scss/style.scss";
45

56
// Navigation elements
67
const navigationToggleButton = document.getElementById("navigationToggle");

image-1.png

752 KB
Loading

image.png

106 KB
Loading

manage-readme-preview.jpg

51.1 KB
Loading

0 commit comments

Comments
 (0)