-
Notifications
You must be signed in to change notification settings - Fork 34
First pull request for solo project #27
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
Open
Bianka2112
wants to merge
31
commits into
Technigo:main
Choose a base branch
from
Bianka2112:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
b369f21
git commit -m "first updates"
Bianka2112 f999f92
some improvements
Bianka2112 250b508
update cards
Bianka2112 061f04e
photos
Bianka2112 d23502c
borders off
Bianka2112 26633dd
css update
Bianka2112 b04d567
css fix
Bianka2112 7db6772
header, cleanup
Bianka2112 b7712ea
updates
Bianka2112 adfc820
photos reloaded
Bianka2112 118d6fd
html nav
Bianka2112 5b7a409
fix banner
Bianka2112 35e3054
hero video
Bianka2112 f2cfc3d
fix hero, change footer
Bianka2112 2493dd9
clean up code
Bianka2112 b93125e
touchup nav
Bianka2112 a911082
update assets
Bianka2112 d3b9be5
code cleanup
Bianka2112 10391e8
fix everything breaking, responsive ok
Bianka2112 a9e4cf0
form and formatting
Bianka2112 ea79c43
form action
Bianka2112 c7f3e44
code clean up, added js file
Bianka2112 3910efd
ham menu, finally
Bianka2112 392bfab
clean code comments, remove console.log
Bianka2112 3371237
code comments, photos, remove console.log
Bianka2112 cd57d85
ham menu colors
Bianka2112 72c59e0
added label for= to form inputs
Bianka2112 4b690de
added contrast, fonts bigger/bold, shadows to improve color contrast
Bianka2112 71e0eaa
adjust mobile menu color contrast and check sizing h2
Bianka2112 15074a0
adjusted form text sizing
Bianka2112 3d78e80
nav menu border instead of bg change for improved color contrast
Bianka2112 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
# js-project-business-site | ||
# js-project-business-site | ||
|
||
Deployed site: | ||
https://thestockholmbuzz.netlify.app/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,271 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<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=La+Belle+Aurore&display=swap" rel="stylesheet"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> | ||
<html> | ||
<title>The Stockholm Buzz</title> | ||
</head> | ||
|
||
<body> | ||
<!-- Header and Nav --> | ||
<header> | ||
<nav class="navbar"> | ||
<img | ||
class="nav-logo" | ||
src="./assets/logo-large-transparent.png" | ||
alt="The Stockholm Buzz logo" | ||
style="width: 100px;"> | ||
|
||
<div class="hamburger-menu"> | ||
<a href="javascript:void(0);" class="hamburger-icon"> | ||
<i class="fa fa-bars"></i></a> | ||
</div> | ||
<div class="nav-links"> | ||
<a href="#">Home</a> | ||
<a href="#">About</a> | ||
<a href="#">Contact</a> | ||
</div> | ||
|
||
<img | ||
class="bees" | ||
src="./assets/3.svg" | ||
alt="decorative bees" | ||
style="width: 100px;"> | ||
</nav> | ||
</header> | ||
|
||
<!-- Hero Video/Image --> | ||
<section class="hero-container"> | ||
<div class="overlay"></div> | ||
<video | ||
autoplay | ||
loop | ||
muted | ||
playsinline | ||
class="hero-video" | ||
poster="./assets/drinks-group.jpg"> | ||
<source | ||
src="./assets/hero-video.mp4" type="video/mp4"> | ||
Your browser doesn't support the video tag | ||
</video> | ||
<h1 class="hero-heading">What's the buzz around town | ||
</h1> | ||
</section> | ||
|
||
<hr> | ||
|
||
<div class="article-heading"> | ||
<h2>Buzzing Topics | ||
<img | ||
class="bees" | ||
src="./assets/3.svg" | ||
alt="decorative bees" | ||
style="width: 100px;"> | ||
</h2> | ||
</div> | ||
|
||
<!-- Article cards --> | ||
<section class="grid-container"> | ||
<div class="grid-item article"> | ||
<h3> Tastiest Ramen in town</h3> | ||
<img | ||
src="./assets/ramen.jpg" | ||
alt="bowl of ramen soup" | ||
style="width: 100%;"> | ||
<a class="article-button" href="#">Read more...</a> | ||
</div> | ||
|
||
<div class="grid-item article"> | ||
<h3> Finally, Semla season!</h3> | ||
<img | ||
src="./assets/semla.jpg" | ||
alt="swedish semla bun" | ||
style="width: 100%;"> | ||
<a class="article-button" href="#">Read more...</a> | ||
</div> | ||
|
||
<div class="grid-item article"> | ||
<h3> Pizza. Say less.</h3> | ||
<img | ||
src="./assets/pizza.jpg" | ||
alt="pizza" | ||
style="width: 100%;"> | ||
<a class="article-button" href="#">Read more...</a> | ||
</div> | ||
|
||
<div class="grid-item article"> | ||
<h3> In search of the perfect burger</h3> | ||
<img | ||
src="./assets/burger2.jpg" alt="burger" | ||
style="width: 100%;"> | ||
<a class="article-button" href="#">Read more...</a> | ||
</div> | ||
|
||
<div class="grid-item article"> | ||
<h3> Dog-approved and pet-positive</h3> | ||
<img | ||
src="./assets/dog-cafe.jpg" alt="happy dog cafe" | ||
style="width: 100%;"> | ||
<a class="article-button" href="#">Read more...</a> | ||
</div> | ||
|
||
<div class="grid-item article"> | ||
<h3> Boozy Brunches for that thing you did, woo!</h3> | ||
<img | ||
src="./assets/drinks-group.jpg" alt="group brunch" | ||
style="width: 100%;"> | ||
<a class="article-button" href="#">Read more...</a> | ||
</div> | ||
|
||
<div class="grid-item article"> | ||
<h3> My #1 favorite restaurant </h3> | ||
<img | ||
src="./assets/favorite.jpg" alt="barbro restaurant" | ||
style="width: 100%;"> | ||
<a class="article-button" href="#">Read more...</a> | ||
</div> | ||
|
||
<div class="grid-item article"> | ||
<h3> Don't be fooled, eat real tacos</h3> | ||
<img | ||
src="./assets/tacos.jpg" | ||
alt="tacos" | ||
style="width: 100%;"> | ||
<a class="article-button" href="#">Read more...</a> | ||
</div> | ||
</section> | ||
|
||
<!-- Form --> | ||
<form action="https://httpbin.org/anything" method="POST"> | ||
<fieldset> | ||
<legend>Let's keep you up-to-buzz</legend> | ||
<div> | ||
<label for="name">Your Name</label> | ||
<input | ||
id="name" | ||
class="form-input" | ||
type="text" | ||
placeholder="Your Name" | ||
name="name" | ||
required> | ||
</div> | ||
<div> | ||
<label for="email">Email Address</label> | ||
<input | ||
id="email" | ||
class="form-input" | ||
type="email" | ||
placeholder="[email protected]" | ||
name="email" | ||
required> | ||
</div> | ||
|
||
<section class="content-options"> | ||
<h3>What type of content would you like to see more of?</h3> | ||
|
||
<div class="checkbox-card"> | ||
<label> | ||
<input | ||
class="form-checkbox" | ||
type="checkbox" | ||
name="content_trending_shops"> | ||
<span class="card-text">Trending Shops</span> | ||
</label> | ||
</div> | ||
|
||
<div class="checkbox-card"> | ||
<label> | ||
<input | ||
class="form-checkbox" | ||
type="checkbox" | ||
name="content_video_reviews"> | ||
<span class="card-text">Video Reviews</span> | ||
</label> | ||
</div> | ||
|
||
<div class="checkbox-card"> | ||
<label> | ||
<input | ||
class="form-checkbox" | ||
type="checkbox" | ||
name="content_community_stories"> | ||
<span class="card-text">Community Stories</span> | ||
</label> | ||
</div> | ||
</section> | ||
|
||
<section class="content-options"> | ||
<h3>Would you like to participate in:</h3> | ||
|
||
<div class="checkbox-card"> | ||
<label> | ||
<input | ||
class="form-checkbox" | ||
type="checkbox" | ||
name="participate_testing_new_features"> | ||
<span class="card-text">Testing New Features</span> | ||
</label> | ||
</div> | ||
|
||
<div class="checkbox-card"> | ||
<label> | ||
<input | ||
class="form-checkbox" | ||
type="checkbox" | ||
name="participate_early_access_offers"> | ||
<span class="card-text">Exclusive Early Access Offers</span> | ||
</label> | ||
</div> | ||
</section> | ||
|
||
<button | ||
class="form-button" | ||
type="submit"> | ||
I want in 🍯 🐝 | ||
</button> | ||
|
||
</fieldset> | ||
</form> | ||
|
||
<footer> | ||
<section class="lower-banner"> | ||
<h1>The latest and greatest buzz about food. drinks. & more.</h1> | ||
</section> | ||
|
||
<hr> | ||
|
||
<div class="footer-container"> | ||
<img | ||
src="./assets/logo-large-transparent.png" | ||
alt="The Stockholm Buzz logo" | ||
style="width: 100px;"> | ||
<h2 class="footer-h2">Follow the honey... | ||
<img | ||
class="img-footer" | ||
alt="dripping honey image" | ||
src="./assets/4.svg" | ||
style="width: 50px;"> | ||
</h2> | ||
</div> | ||
|
||
<section class="footer-socials"> | ||
<link | ||
href="//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" | ||
rel="stylesheet"> | ||
|
||
<div class='demopadding'> | ||
<div class='icon social fb'><i class='fa fa-facebook'></i></div> | ||
<div class='icon social tw'><i class='fa fa-twitter'></i></div> | ||
<div class='icon social in'><i class='fa fa-linkedin'></i></div> | ||
</div> | ||
</section> | ||
</footer> | ||
<script src="script.js"></script> | ||
</body> | ||
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Variable selectors | ||
const getMenu = document.querySelector(".hamburger-icon") | ||
const navMenu = document.querySelector(".nav-links") | ||
|
||
// Hamburger menu | ||
getMenu.addEventListener("click", () => { | ||
getMenu.classList.toggle("open") | ||
navMenu.classList.toggle("open") | ||
}) | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
You've done this in your CSS so I'm sure you're aware of it as a tactic but thought to throw a comment in here anyway. You can also use comments in JS to separate your JS code (when it gets longer of course).