Skip to content
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

Rock -Brittany #68

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Rock -Brittany #68

wants to merge 1 commit into from

Conversation

brittanygcle
Copy link

No description provided.

Copy link

@spitsfire spitsfire left a comment

Choose a reason for hiding this comment

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

This is a good start, Brittany! Consider finishing this up during the break week and let me know when you push it! Refer to Simon's demo of this project for support!

<div class="card">
<h3>City Name</h3>
<!--City Name Form-->
<form class="form" action="/action_page.php">

Choose a reason for hiding this comment

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

in this instance we don't need an action attribute. This is necessary for more traditional websites to trigegr a request to a backend

Suggested change
<form class="form" action="/action_page.php">
<form class="form">

Comment on lines +13 to +17
<div class="header">
<h1>Weather Report</h1>
<h2>For the loveley city of</h2>
<p class="city-name">🌊 🌙 Oceanville🌙🌊</p>
</div>

Choose a reason for hiding this comment

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

don't forget to use semantic html, like header, section, main rather than div

<button id="upButton" class="temp-button">🔼</button>
<button id="downButton" class="temp-button">🔽</button>
</div>
<div id="value" class="temp-value">32</div>

Choose a reason for hiding this comment

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

let's use something other than a div here. a div is for dividing similar html elements together. this should more likely be a heading like h3 or a p elements. these are for text.

Comment on lines +34 to +36
<div class="card">
<h3>Sky</h3>
</div>

Choose a reason for hiding this comment

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

not everything needs a parent element. an h3 can stand on its own!

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