-
Notifications
You must be signed in to change notification settings - Fork 62
Pull request for code review #56
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 28 commits
73cfc7b
58fed4f
7858e20
598c99a
daa0960
402ae73
e643b29
a994b8a
1567a6a
1bc6754
8d7daa9
d586c4a
d4a68f0
b3bdc4f
2e112fd
121c3ec
a1575fb
e7d3a47
5300233
8ea19d2
4fbcc9e
968f4fd
2cb848b
a504751
c2a0ad6
8419fb9
6a36865
79a31af
e6355f9
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,3 @@ | ||
| { | ||
| "liveServer.settings.port": 5501 | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,21 @@ | ||
| # js-project-business-site | ||
| # js-project-business-site | ||
|
|
||
| ## Business site - Willz models | ||
| https://willz-models.netlify.app/ | ||
|
|
||
| This website is my contribution to Technigo bootcamps assignment: project business site. | ||
|
|
||
| The aim for me while building this was to learn as much as possible while playing around and having fun with the code. Therefor I chose to make a dummy model agency site featuring my family cat Willz. My goal was to make the website look professional but with fun content. The site acts as a portfolio showing all of Willz different looks aswell as some information and a form to request a booking. It is responsive on desktop, tablet and small phones. Functioning navigation bar on desktop that turns into hamburger menu on smaller screens. | ||
|
|
||
| At first glance the styling is simple and clean, but there is an option to change the vibe by turning on ”party mode” by clicking a button in the navigation bar. This was done by using javaScript. | ||
|
|
||
| # Built by using | ||
| * HTML | ||
| * CSS | ||
| - Flexbox | ||
| - Grid | ||
| * javaScript | ||
| - For interactivity with hamburger menu and color/theme change | ||
|
|
||
| # EASTEREGG: | ||
| Find the hidden potato |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,288 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
|
|
||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <meta | ||
| name="viewport" | ||
| content="width=device-width, initial-scale=1.0" | ||
| > | ||
| <title>Willz agency</title> | ||
| <link | ||
| rel="stylesheet" | ||
| href="style.css" | ||
| /> | ||
| <link | ||
| rel="preconnect" | ||
| href="https://fonts.googleapis.com" | ||
| > | ||
| <link | ||
| rel="preconnect" | ||
| href="https://fonts.gstatic.com" | ||
| crossorigin | ||
| > | ||
| <link | ||
| href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Sansation:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap" | ||
| rel="stylesheet" | ||
| > | ||
| </head> | ||
|
|
||
| <body id="fullBody"> | ||
| <!---NAVBAR DESKTOP-------------> | ||
| <ul | ||
| id="desktopNav" | ||
| class="nav-list" | ||
| > | ||
| <li><a href="#homePage">Home </a></li> | ||
| <li><a href="#modelSection">Models </a></li> | ||
| <li><a href="#information">About us </a></li> | ||
| <li><a href="#formSection">Contact </a></li> | ||
| <button | ||
| id="partyMode" | ||
| class="partyButton" | ||
| >Party mode</button> | ||
| </ul> | ||
|
|
||
| <!---HAMBURGER MENU--> | ||
| <div | ||
| class="hamburger" | ||
| onclick="hamburgerFunction(this)" | ||
| > | ||
| <div class="barOne"></div> | ||
| <div class="barTwo"></div> | ||
| <div class="barThree"></div> | ||
| </div> | ||
|
|
||
| <nav class="hamburgerLinks"> | ||
| <ul> | ||
| <span class="hamburgerLinkSpan"> | ||
| <li | ||
| onclick="closeHamburger()" | ||
| class="hamburgerList" | ||
| ><a href="#homePage">Home</li></a> | ||
| </span> | ||
| <span class="hamburgerLinkSpan"> | ||
| <li | ||
| onclick="closeHamburger()" | ||
| class="hamburgerList" | ||
| ><a href="#modelSection">Models</li></a> | ||
| </span> | ||
| <span class="hamburgerLinkSpan"> | ||
| <li | ||
| onclick="closeHamburger()" | ||
| class="hamburgerList" | ||
| ><a href="#information">About us</li></a> | ||
| </span> | ||
| <span class="hamburgerLinkSpan"> | ||
| <li | ||
| onclick="closeHamburger()" | ||
| class="hamburgerList" | ||
| ><a href="#formSection">Contact</li></a> | ||
| </span> | ||
| <span class="hamburgerButtonSpan"><button | ||
| onclick="partyCloseHamburger()" | ||
| id="partyModeHamburger" | ||
| class="partyButton" | ||
| >Party mode</button></span> | ||
| </ul> | ||
| </nav> | ||
|
|
||
| <!---HERO SECTION--> | ||
| <header | ||
| id="homePage" | ||
| class="hero" | ||
| > | ||
| <div class="header-text"> | ||
| <h1 id="heroText">WILLZ MODELS</h1> | ||
| <p class="header-paragraph">A one cat model agency</p> | ||
| </div> | ||
| </header> | ||
|
|
||
| <!----MAIN section---------> | ||
| <section | ||
| id="modelSection" | ||
| class="main-section" | ||
| > | ||
| <div class="card 1"> | ||
| <img src="images/willz-zara.jpeg" /> | ||
| <h3>Fashionable</h3> | ||
| </div> | ||
|
|
||
| <div class="card 2"> | ||
| <img src="images/Willz-fancy.jpeg" /> | ||
| <h3>Sofisticated</h3> | ||
| </div> | ||
|
|
||
| <div class="card 3"> | ||
| <img src="images/willz-cowboy.jpeg" /> | ||
| <h3>casual</h3> | ||
| </div> | ||
|
|
||
| <div class="card 4"> | ||
| <img src="images/Willz-catwalk.jpeg" /> | ||
| <h3>professional</h3> | ||
| </div> | ||
|
|
||
| <div class="card 5"> | ||
| <img src="images/willz-royal.jpeg" /> | ||
| <h3>Royal</h3> | ||
| </div> | ||
|
|
||
| <div class="card 6"> | ||
| <img src="images/willz-potato.jpeg" /> | ||
| <h3>stoic</h3> | ||
| </div> | ||
|
|
||
| <div class="card 7"> | ||
| <img src="images/willz-kpop.jpeg" /> | ||
| <h3>Modern</h3> | ||
| </div> | ||
|
|
||
| <div class="card 8"> | ||
| <img src="images/willz-jacket.jpeg" /> | ||
| <h3>Focused</h3> | ||
| </div> | ||
|
|
||
| <div class="card 9"> | ||
| <img src="images/willz-princess.jpeg" /> | ||
| <h3>Feminine</h3> | ||
| </div> | ||
|
|
||
| <div class="card 10"> | ||
| <img src="images/willz-artsy.jpeg" /> | ||
| <h3>Artistic</h3> | ||
| </div> | ||
|
|
||
| <div class="card 11"> | ||
| <img src="images/willz-manicure.jpeg" /> | ||
| <h3>Well groomed</h3> | ||
| </div> | ||
|
|
||
| <div class="card 12"> | ||
| <img src="images/willz-nature.jpeg" /> | ||
| <h3>Natural</h3> | ||
| </div> | ||
| </section> | ||
|
|
||
|
|
||
| <!--INFO + FORM section-------> | ||
|
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. igen bra kommentar !! |
||
| <section | ||
| id="information" | ||
| class="info-section" | ||
| > | ||
| <div class="info-text"> | ||
| <h2>ABOUT US</h2> | ||
| <img | ||
| class="infoImage" | ||
| src="images/willz-dreaming.png" | ||
| alt="cat" | ||
| > | ||
| <Professional>Forget about casting calls, multiple models, or diva drama. Willz is the one-cat wonder your brand | ||
|
||
| has been dreaming of. From slick fashion to casual cool, Willz can pull off any look, any pose and any vibe. All | ||
| without a single hiss. Professional Purr-fectionist: Takes direction better than most humans. Multi-Look expert: | ||
| From well dressed sofisticated looks to natural vibes, Willz does it all. Flexible & Focused: Stretches, yawns, | ||
| or stares | ||
| dramatically, all on cue. Why hire a dozen models when Willz has mastered it all? Book a shoot and let this | ||
| feline phenomenon turn you project into a paw-some masterpiece. | ||
| </div> | ||
|
|
||
| <div | ||
| id="formSection" | ||
| class="form-section" | ||
| > | ||
| <form | ||
| action="http://httpbin.org/anything" | ||
|
||
| method="post" | ||
| > | ||
| <div class="formHeading"> | ||
| <h3>Request a booking with willz</h3> | ||
| </div> | ||
| <fieldset> | ||
| <label> | ||
| <span class="customer-name">Name</span> | ||
|
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. här används span - är nyfiken över det, själv använde jag label och lade namnet i den, hade varit kul att veta hur det funkat med span och om det blir någon skillnad beroende på vilken man använder :) |
||
| <input | ||
| type="text" | ||
| name="name" | ||
| placeholder="Your name" | ||
| required | ||
|
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. Snyggt jobbat med att lägga in ”required” på formuläret, är mer realistiskt då! |
||
| > | ||
| </label> | ||
|
|
||
| <label> | ||
|
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. ser lite ut som att du använder label lite som en div, hur har det funkat? hade varit intressant att veta hur det påverkar hur man exempelvis stylar koden sen :) |
||
| <span class="customer-email">Email</span> | ||
| <input | ||
| type="email" | ||
| name="email" | ||
| placeholder="[email protected]" | ||
| required | ||
| > | ||
| </label> | ||
|
|
||
| <label> | ||
| <span class="version-willz">Type of booking</span> | ||
| <select | ||
| name="willz-version" | ||
| id="willz-version" | ||
| required | ||
| > | ||
| <option | ||
| value="booking type" | ||
| selected | ||
| disabled | ||
| >Choose type of booking</option> | ||
| <option value="Photo shoot">Photo shoot</option> | ||
| <option value="Catwalk">Catwalk</option> | ||
| <option value="Live performance">Live performance</option> | ||
| </select> | ||
| </label> | ||
|
|
||
| <label> | ||
| <span class="requested-date">Requested date</span> | ||
| <input | ||
| type="date" | ||
| name="day" | ||
| id="day" | ||
| required | ||
| > | ||
| </label> | ||
|
Comment on lines
+240
to
+248
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. Coolt med datum rutan, visste inte hur man gjorde det. |
||
|
|
||
| <div class="radiobutton-row"> | ||
| <label class="radiobutton-container">Full day | ||
| <input | ||
| type="radio" | ||
| name="time" | ||
| value="Full day" | ||
| > | ||
| <span class="custom-radiobutton"></span> | ||
| </label> | ||
| <label class="radiobutton-container">Half day | ||
| <input | ||
| type="radio" | ||
| name="time" | ||
| value="Half day" | ||
| > | ||
| <span class="custom-radiobutton"></span> | ||
| </label> | ||
| </div> | ||
| <div class="button-box"> | ||
| <button | ||
| id="submit-button" | ||
| class="submit-button" | ||
| type="submit" | ||
| >Submit</button> | ||
| </div> | ||
| </fieldset> | ||
| </form> | ||
| </div> | ||
|
|
||
| </section> | ||
|
|
||
| <!---FOOTER-----------> | ||
| <footer> | ||
| <p>Created by: Nicolina Bäcklin Löwenberg</p> | ||
| </footer> | ||
|
|
||
| <script src="script.js"></script> | ||
| </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.
Remember indentation