Skip to content
Open
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
6eb3ab0
Added navbar and logo
sandrahagevall Sep 2, 2025
b904ec4
added styling nav/logo
sandrahagevall Sep 2, 2025
9c6f69b
added owner img
sandrahagevall Sep 2, 2025
e63c519
added hero image and styling
sandrahagevall Sep 2, 2025
4d7051b
added grid
sandrahagevall Sep 3, 2025
17e390b
added grid
sandrahagevall Sep 4, 2025
8c68db6
added media query
sandrahagevall Sep 4, 2025
3055dab
added media query
sandrahagevall Sep 4, 2025
dbb73d1
addded pics
sandrahagevall Sep 4, 2025
9c234de
added link
sandrahagevall Sep 5, 2025
6b214b4
changed info-link
sandrahagevall Sep 5, 2025
0e2e19f
added deployed link in readme
sandrahagevall Sep 5, 2025
92845bc
added HTML file for contact
sandrahagevall Sep 8, 2025
62fa3a5
added form in contact html
sandrahagevall Sep 8, 2025
24d9718
added styling html form
sandrahagevall Sep 9, 2025
b9da36a
add media query
sandrahagevall Sep 10, 2025
1b8fd37
change layout for desktop screens
sandrahagevall Sep 10, 2025
c54e0de
add social media icons + media query
sandrahagevall Sep 11, 2025
2ff3583
increase font-size media query
sandrahagevall Sep 12, 2025
c69bc4d
change readme file
sandrahagevall Sep 15, 2025
712a4dd
add hamburger menu
sandrahagevall Sep 16, 2025
193f5bd
add js to contact page
sandrahagevall Sep 16, 2025
64a9661
add no scroll when hamburger menu is open
sandrahagevall Sep 16, 2025
a4edfef
add manual slider and new layout for navbar
sandrahagevall Sep 19, 2025
616b77c
change image in manual slider and navbar
sandrahagevall Sep 19, 2025
6a7d856
remove semicolons in js
sandrahagevall Sep 24, 2025
dd960c6
add styling and button to contact page in navbar
sandrahagevall Nov 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
# js-project-business-site
# js-project-business-site

Project business site, build with HTML and CSS

## Live-demo
Project: [Skin Expert](https://skinexpert.netlify.app/)
Binary file added images/Felicia.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Instagram-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/SKINEXPERT.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/facebook-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hero.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hud.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hud2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/lillakortet.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/linkedin.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/logga1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/logga2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
154 changes: 154 additions & 0 deletions index.html

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks very clean in the html files! Great job!

Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
>
<title>Skin Expert</title>
<link
href="https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@400;600&family=Julius+Sans+One&display=swap"
rel="stylesheet"
>
<link
rel="stylesheet"
href="style.css"
>
</head>

<body>
<header>
<nav class="navbar">
<div class="navbar-left">
<a href="index.html">
<img
class="logo"
src="images/logga1.jpg"
alt="Skin Expert Logo"
>
</a>
</div>

<div class="navbar-right">
<button class="hamburger">
<span></span>
<span></span>
<span></span>
</button>

<div class="nav-links">
<a
href="#"
class="header-nav-link"
>SKIN EXPERT</a>
<a
href="#"
class="header-nav-link"
>BUTIK</a>
<a
href="#"
class="header-nav-link"
>OM</a>
<a
href="kontakt.html"
class="header-nav-link"
>KONTAKT</a>
</div>
</div>
</nav>

<div class="hero-image">
<div class="hero-text">
<h1>Welcome to Skin Expert</h1>
<p>Your one-stop solution for all skin care needs.</p>
<button class="btn">Läs mer</button>
</div>
</div>
</header>

<main>
<section class="grid-container">
<article class="grid-card">
<img
class="card-image"
src="images/Felicia.jpg"
alt="Product 1"
>
<div class="card-text">
<h3>OM FELICIA</h3>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Voluptatibus quos deleniti quidem ea quod laborum
commodi cupiditate ex odio soluta sit sequi cumque nobis tempora veniam recusandae necessitatibus, enim at!
<a
href="#"
class="info-link"
>Läs mer</a>
</p>
</div>
</article>
<article class="grid-card">
<img
class="card-image"
src="images/hud.jpg"
alt="Product 1"
>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Voluptatibus quos deleniti quidem ea quod laborum
commodi cupiditate ex odio soluta sit sequi cumque nobis tempora veniam recusandae necessitatibus, enim at!
</p>
</article>
<article class="grid-card">
<img
class="card-image"
src="images/hud2.jpg"
alt="Product 1"
>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Voluptatibus quos deleniti quidem ea quod laborum
commodi cupiditate ex odio soluta sit sequi cumque nobis tempora veniam recusandae necessitatibus, enim at!
</p>
</article>
<article class="grid-card">
<img
class="card-image"
src="images/lillakortet.jpg"
alt="Product 1"
>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Voluptatibus quos deleniti quidem ea quod laborum
commodi cupiditate ex odio soluta sit sequi cumque nobis tempora veniam recusandae necessitatibus, enim at!
</p>
</article>
<article class="grid-card">
<img
class="card-image"
src="images/hud.jpg"
alt="Product 1"
>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Voluptatibus quos deleniti quidem ea quod laborum
commodi cupiditate ex odio soluta sit sequi cumque nobis tempora veniam recusandae necessitatibus, enim at!
</p>
</article>
</section>
</main>


<footer>
<div class="social-media">
<a href="#"><img
src="images/facebook-icon.png"
alt="Facebook"
></a>
<a href="#"><img
src="images/Instagram-icon.png"
alt="Instagram"
></a>
<a href="#"><img
src="images/linkedin.webp"
alt="LinkedIn"
></a>
</div>
<p>&copy; 2025 Skin Expert. All rights reserved.</p>
</footer>
<script src="script.js"></script>
Copy link

@majaengberg02 majaengberg02 Sep 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe consider adding <script src="script.js"></script> to the beginning of the document, in the head, where you have the link to the css file as well. Makes it a bit easier to find.

</body>

</html>
182 changes: 182 additions & 0 deletions kontakt.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,182 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
>
<title>KONTAKT</title>
<link
href="https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@400;600&family=Julius+Sans+One&display=swap"
rel="stylesheet"
>
<link
rel="stylesheet"
href="style.css"
>
</head>

<body>
<header>
<nav class="navbar">
<div class="navbar-left">
<a href="index.html">
<img
class="logo"
src="images/logga1.jpg"
alt="Skin Expert Logo"
>
</a>
</div>

<div class="navbar-right">
<button class="hamburger">
<span></span>
<span></span>
<span></span>
</button>

<div class="nav-links">
<a
href="#"
class="header-nav-link"
>SKIN EXPERT</a>
<a
href="#"
class="header-nav-link"
>BUTIK</a>
<a
href="#"
class="header-nav-link"
>OM</a>
<a
href="kontakt.html"
class="header-nav-link"
>KONTAKT</a>
</div>
</div>
</nav>

<div class="hero-image">
<div class="hero-text">
<h1>Welcome to Skin Expert</h1>
<p>Your one-stop solution for all skin care needs.</p>
<button class="btn">Läs mer</button>
</div>
</div>
</header>

<main>
<h1 class="form-title">Kontakt</h1>

<div class="content-wrapper">
<form
action="https://httpbin.org/anything"
method="post"
>

<fieldset>
<legend>Dina kontaktuppgifter</legend>

<label for="name">Namn</label>
<input
type="text"
id="name"
name="name"
required
>

<label for="email">E-post</label>
<input
type="email"
id="email"
name="email"
required
placeholder="[email protected]"
>

<label for="message">Meddelande</label>
<textarea
id="message"
name="message"
rows="4"
required
></textarea>
</fieldset>

<fieldset>
<legend>Välj tjänster</legend>

<label for="service1">
<input
type="checkbox"
id="service1"
name="services"
value="service1"
>
Tjänst 1
</label>

<label for="service2">
<input
type="checkbox"
id="service2"
name="services"
value="service2"
>
Tjänst 2
</label>

<label for="service3">
<input
type="checkbox"
id="service3"
name="services"
value="service3"
>
Tjänst 3
</label>
</fieldset>

<div class="button-wrapper">
<input
type="submit"
class="contact-btn"
value="Skicka"
>
</div>
</form>

<div class="side-content">
<h2>Hitta oss</h2>
<p>Adress: Hudvårdsgatan 12, 123 45 Skönhetsstad</p>
<p>Telefon: 012-345 67 89</p>
<p>E-post: [email protected]</p>
</div>
</div>

</main>

<footer>
<div class="social-media">
<a href="#"><img
src="images/facebook-icon.png"
alt="Facebook"
></a>
<a href="#"><img
src="images/Instagram-icon.png"
alt="Instagram"
></a>
<a href="#"><img
src="images/linkedin.webp"
alt="LinkedIn"
></a>
</div>
<p>&copy; 2025 Skin Expert. All rights reserved.</p>
</footer>
<script src="script.js"></script>
Copy link

@majaengberg02 majaengberg02 Sep 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe consider adding <script src="script.js"></script> to the beginning of the document, in the head, where you have the link to the css file as well. Makes it a bit easier to find.

</body>

</html>
9 changes: 9 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const hamburger = document.querySelector(".hamburger")
const navLinks = document.querySelector(".nav-links")
const body = document.body;

hamburger.addEventListener("click", () => {
navLinks.classList.toggle("active")
hamburger.classList.toggle("open")
body.classList.toggle("no-scroll")
Copy link

@majaengberg02 majaengberg02 Sep 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great feature! Will definitely look into adding no scroll to my own site!

})
Loading