Skip to content

Review branch#62

Open
AgnesSj01 wants to merge 12 commits intoTechnigo:mainfrom
AgnesSj01:review-branch
Open

Review branch#62
AgnesSj01 wants to merge 12 commits intoTechnigo:mainfrom
AgnesSj01:review-branch

Conversation

@AgnesSj01
Copy link
Copy Markdown

Comment directly on the lines in the "Files changed" tab.

Copy link
Copy Markdown

@JeffieJansson JeffieJansson left a comment

Choose a reason for hiding this comment

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

Over all it's an amazing project, the colors, popups,structure and the Idea is so great!
I like how you’ve added comments in your HTML/CSS/JS, it makes the code easy to follow and good use of semantic HTML, it makes the structure clear.
I really like how you separated the popup and forms CSS into its own files, that keeps things organized and easier to review.

You should be so proud of yourself, this is a really fantastic first project! Keep up the amazing work!

Comment thread index.js

// =================== BUTTON CONNECTIONS ===================

// All buttons that open modals
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nice to use same JS for all buttons, keeping it DRY and clean!

Comment thread index.html
<input type="text" id="name" name="name" required /><br />
<label for="phonenumber">Phone number</label><br />
<input
type="number"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Great form! For the phone field, a thought/tweek could be to consider switching from type="number" to type="tel". It prompts mobile browsers to display a telephone keypad, making it easier for users to enter phone numbers. of course

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Thanks, i will change that!

Comment thread style.css

/* Blur effect when nav or modal is open */

.blur {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nice touch with the blur effect when the menu or popup is open!

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

<3

Comment thread index.html Outdated
Comment on lines +168 to +177
<p>
Our coffee is certified by internationally recognized labels such as
Fairtrade, KRAV, and Rainforest Alliance – a guarantee of both great
taste and a responsible choice. The result is high-quality coffee you
can truly enjoy with a clear conscience.
<!-- Same logic as popup 1:
- close-btn: used by JavaScript to attach the close action.
- data-target="box2": closes <div id="box2"> when clicked.-->
<button class="close-btn" data-target="box2">Back</button>
</p>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Lovely popups! I noticed in Popup 2 the close button is placed inside a <p>. Was it inside the <p> for a specific styling reason?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

No, that was a mistake, thank you for pointing it out

Comment thread style.css
color: #fff;
}

.top-nav a:hover {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I noticed that this rule makes the opening hours and contact text change color when hovering, since your header background is also black, the hover state makes the link disappear (black on black). if this is intentional styling please ignore this comment :)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

It’s an intentional design choice, but as you said, it might not be great for visibility. I’ll change it, good that you pointed it out :)

@HIPPIEKICK
Copy link
Copy Markdown
Contributor

Please share a link to your deployed site as well

@AgnesSj01
Copy link
Copy Markdown
Author

Please share a link to your deployed site as well

I sent the link earlier in my feature #41, did I do something wrong?
https://legacy-coffee.netlify.app/

Copy link
Copy Markdown
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.

Hi Agnes!
Very neat with the form in a modal box ⭐ Everything works as expected, just make sure to always choose https for the form action and not http. Right now the form doesn’t post anything to the bin because of security issues.

Keep up the good work!

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.

3 participants