-
Notifications
You must be signed in to change notification settings - Fork 62
Carina's js project buisness site #64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 6 commits
8e29752
2d6a4f2
98da2f9
0ddea0c
30a4fa4
bdbc327
db2a56e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| # js-project-business-site |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,117 @@ | ||
| *{ | ||
| box-sizing: border-box; | ||
| padding: 0; | ||
| margin: 0; | ||
| } | ||
|
|
||
| body{ | ||
| background-image: url(backgrounds/back1.jpg); | ||
| } | ||
|
|
||
| header{ | ||
| display: grid; | ||
| grid-template-rows: repeat(4, 1fr); | ||
| grid-template-columns: repeat(12, 1fr); | ||
| background-color: black; | ||
| color: #18a7a7; | ||
| } | ||
|
|
||
| button{ | ||
| grid-column: 12/12; | ||
| grid-row: 1/1 | ||
|
|
||
| } | ||
|
|
||
| h2{ | ||
| grid-column: 6/7; | ||
| grid-row: 1/3; | ||
| padding-bottom: 5px; | ||
|
|
||
|
|
||
| } | ||
|
|
||
| p{ | ||
| grid-column: 6/7; | ||
| grid-row: 3/4; | ||
| } | ||
|
|
||
| a{ | ||
| color: #18a7a7; | ||
| text-decoration: none; | ||
| } | ||
|
|
||
|
|
||
| .container{ | ||
| display: flex; | ||
| justify-content: center; | ||
| flex-wrap: wrap; | ||
|
|
||
| } | ||
|
|
||
| .card{ | ||
| background-color: rgb(135, 219, 219); | ||
| width: 220px; | ||
| height: 500px; | ||
| margin: 50px; | ||
| border-radius: 90px; | ||
| box-shadow: 5px 20px 20px; | ||
|
|
||
|
|
||
| } | ||
|
|
||
| .card-image{ | ||
| background-color: yellowgreen; | ||
| height: 200px; | ||
| margin-bottom: 15px; | ||
| background-size: cover; | ||
| } | ||
|
|
||
|
|
||
| .rab{ | ||
| background-image: url(carved/Malachite.jpg); | ||
| } | ||
| .uni{ | ||
| background-image: url(carved/oceanjasper.jpg); | ||
| } | ||
|
|
||
| .bust{ | ||
| background-image: url(carved/rose.jpg); | ||
| } | ||
|
|
||
| .skull{ | ||
| background-image: url(carved/QuartzSkul.jpg); | ||
| } | ||
|
|
||
| .kya{ | ||
| background-image: url(carved/kyanite.jpg); | ||
| } | ||
|
|
||
| .moss{ | ||
| background-image: url(carved/mossagate.jpg); | ||
| } | ||
|
|
||
| .phoe{ | ||
| background-image: url(carved/phoenix.jpg); | ||
| } | ||
|
|
||
| .tur{ | ||
| background-image: url(carved/turmaline.jpg); | ||
| } | ||
|
|
||
| .sel{ | ||
| background-image: url(carved/selenite.jpg); | ||
| } | ||
|
|
||
| .card h4{ | ||
| text-align: center; | ||
| } | ||
|
|
||
| .card p{ | ||
| padding: 20px; | ||
| } | ||
|
|
||
| .card:hover{ | ||
| background-color: white; | ||
| cursor: pointer; | ||
| transform: scale(1.1); | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,81 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| <title>Document</title> | ||
| <link rel="stylesheet" href="carved.css"> | ||
| </head> | ||
| <body> | ||
|
|
||
|
|
||
| <header> | ||
| <h2>Carved Stones</h2> | ||
| <p> Handcarved stones</p> | ||
| <button style=" font-size:15px; font-family: cursive; background-color: #93fcfc; border-radius: 5px;"> <!--working on it--> | ||
| <a href="index.html">Back</a> | ||
| </button> | ||
| </header> | ||
|
|
||
| <section class="container"> | ||
|
|
||
| <div class="card"> | ||
| <div class="card-image rab"></div> | ||
| <h4>Malachite rabbit</h4> | ||
| <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Esse qui rem temporibus praesentium itaque quas fugiat? Saepe voluptatem aliquid eveniet ex, reiciendis quis laudantium corrupti id deleniti eum incidunt neque?</p> | ||
| </div> | ||
|
|
||
| <div class="card"> | ||
| <div class="card-image uni"></div> | ||
| <h4>Ocean Jasper uniqorn</h4> | ||
| <p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Suscipit ab iste maxime soluta dignissimos aliquid minus perspiciatis. Accusantium deserunt eveniet rerum provident harum, doloribus expedita voluptas? Nobis dicta odit sit?</p> | ||
| </div> | ||
|
|
||
| <div class="card"> | ||
| <div class="card-image bust"></div> | ||
| <h4>Rose Quartz bust</h4> | ||
| <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Totam obcaecati similique maiores eius culpa eaque labore molestias alias magnam libero necessitatibus, error accusamus voluptatem odio provident numquam nemo eveniet voluptates!</p> | ||
| </div> | ||
|
|
||
| <div class="card"> | ||
| <div class="card-image skull"></div> | ||
| <h4>Quartz skull</h4> | ||
| <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Esse qui rem temporibus praesentium itaque quas fugiat? Saepe voluptatem aliquid eveniet ex, reiciendis quis laudantium corrupti id deleniti eum incidunt neque?</p> | ||
| </div> | ||
|
|
||
| <div class="card"> | ||
| <div class="card-image kya"></div> | ||
| <h4>Kyanite tower</h4> | ||
| <p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Suscipit ab iste maxime soluta dignissimos aliquid minus perspiciatis. Accusantium deserunt eveniet rerum provident harum, doloribus expedita voluptas? Nobis dicta odit sit?</p> | ||
| </div> | ||
|
|
||
| <div class="card"> | ||
| <div class="card-image moss"></div> | ||
| <h4>Moss aget Tower</h4> | ||
| <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Totam obcaecati similique maiores eius culpa eaque labore molestias alias magnam libero necessitatibus, error accusamus voluptatem odio provident numquam nemo eveniet voluptates!</p> | ||
| </div> | ||
|
|
||
| <div class="card"> | ||
| <div class="card-image phoe"></div> | ||
| <h4>Phoenix stone Tower</h4> | ||
| <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Totam obcaecati similique maiores eius culpa eaque labore molestias alias magnam libero necessitatibus, error accusamus voluptatem odio provident numquam nemo eveniet voluptates!</p> | ||
| </div> | ||
|
|
||
| <div class="card"> | ||
| <div class="card-image tur"></div> | ||
| <h4>Black Turmaline Tower</h4> | ||
| <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Totam obcaecati similique maiores eius culpa eaque labore molestias alias magnam libero necessitatibus, error accusamus voluptatem odio provident numquam nemo eveniet voluptates!</p> | ||
| </div> | ||
|
|
||
| <div class="card"> | ||
| <div class="card-image sel"></div> | ||
| <h4>Selenite Tower</h4> | ||
| <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Totam obcaecati similique maiores eius culpa eaque labore molestias alias magnam libero necessitatibus, error accusamus voluptatem odio provident numquam nemo eveniet voluptates!</p> | ||
| </div> | ||
|
|
||
|
|
||
| </section> | ||
|
|
||
|
|
||
| </body> | ||
| </html> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| Label{ | ||
| display: block; | ||
| padding: 5px; | ||
|
|
||
| } | ||
|
|
||
| body{ | ||
| background-color: rgb(236, 255, 234); | ||
| } | ||
|
|
||
|
|
||
|
|
||
| .hero{ | ||
| background-image: url(backgrounds/back1.jpg); | ||
| background-size: cover; | ||
| background-repeat: no-repeat; | ||
| /* gives the image boxshadow inside the immage*/ | ||
| box-shadow: 40px 30px 30px rgb(236, 255, 234) inset; | ||
|
|
||
| min-block-size: 30vh; | ||
|
|
||
| } | ||
|
|
||
| a{ | ||
| color: #18a7a7; | ||
| text-decoration: none; | ||
| } | ||
|
|
||
| .container{ | ||
| display: flex; | ||
| justify-content: center; | ||
| flex-wrap: wrap; | ||
|
|
||
| } | ||
|
|
||
| .card{ | ||
| background-color: rgb(135, 219, 219); | ||
| width: 340px; | ||
| height: 450px; | ||
| margin: 50px; | ||
| border-radius: 10px; | ||
| box-shadow: 5px 20px 20px; | ||
|
|
||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| <title>Document</title> | ||
| <link rel="stylesheet" href="form.css"> | ||
|
|
||
|
|
||
| </head> | ||
| <body> | ||
| <button style=" font-size:15px; font-family: cursive; background-color: #93fcfc; border-radius: 5px;"> <!--working on it--> | ||
| <a href="index.html">Back</a> | ||
| </button> | ||
|
|
||
| <section class="hero overlay"> | ||
| <h2> Sign up for our mailing list!</h2> | ||
| <p> Get news, updates on our stock and discounts.</p> | ||
|
|
||
| </section> | ||
|
|
||
|
|
||
|
|
||
| <form action="http://httpbin.org/anything" method="POST"> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Make sure you use the https as the action, as it can otherwise result in browsers blocking the action |
||
| <div class="container"> | ||
| <div class="card"> | ||
| <h3>Submit form</h3> | ||
| <br><br> | ||
| <label> | ||
| First name | ||
| <input type="text" name="name" placeholder="Anna" required> | ||
| </label> | ||
| <br><br> | ||
| <label> | ||
| Last name | ||
| <input type="text" name="name" placeholder="Andersson" required> | ||
| </label> | ||
| <br><br> | ||
| <label> | ||
| <input type="text" name="e-mail" placeholder="[email protected]" required> | ||
| </label> | ||
| <br><br> | ||
| <p>Do you consent?</p> | ||
| <div class=""></div> | ||
| <input type= checkbox name="Yes" required> Yes | ||
|
||
|
|
||
|
|
||
|
|
||
| <button type="submit"> Submit</button> | ||
| </div> | ||
| </div> | ||
|
|
||
| </form> | ||
|
|
||
| </body> | ||
| </html> | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Always lowercase