Skip to content

Conversation

@fridascript
Copy link

Copy link
Contributor

@HIPPIEKICK HIPPIEKICK left a comment

Choose a reason for hiding this comment

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

Nice job with the business site! You’ve implemented CSS Grid and Flexbox in a good way; however, I’m not sure the Flexbox on the video element is doing anything 👀

Going forward - keep the JavaScript in a JavaScript file 😊

Comment on lines +11 to +14
<link
rel="icon"
type="image"
href="logga2.png"
Copy link
Contributor

Choose a reason for hiding this comment

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

🥳

Comment on lines +172 to +182
<label
for="radio-button"
class="consent"
>
<input
type="radio"
id="radio-button"
name="consent"
>
I agree to the use of my information.
</label>
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not the most common input type when asking for acceptance. Radio buttons are used when the user should pick one of multiple options. When you only have one radio button it's impossible to "uncheck" it. I think you'd be better of with a checkbox in this case 😊

no name kafé
</footer>

<!--java-for-hamburger-->
Copy link
Contributor

Choose a reason for hiding this comment

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

*JavaScript 😉

Comment on lines +200 to +207
<script>
const btn = document.querySelector('.hamburger');
const links = document.querySelector('.nav-links');

btn.addEventListener('click', () => {
links.classList.toggle('show');
});
</script>
Copy link
Contributor

Choose a reason for hiding this comment

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

Keep the JavaScript in a separate JavaScript file going forward. It will be easier to maintain and find.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants