-
Notifications
You must be signed in to change notification settings - Fork 78
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
base: main
Are you sure you want to change the base?
Rock -Brittany #68
Conversation
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.
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"> |
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.
in this instance we don't need an action attribute. This is necessary for more traditional websites to trigegr a request to a backend
<form class="form" action="/action_page.php"> | |
<form class="form"> |
<div class="header"> | ||
<h1>Weather Report</h1> | ||
<h2>For the loveley city of</h2> | ||
<p class="city-name">🌊 🌙 Oceanville🌙🌊</p> | ||
</div> |
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.
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> |
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.
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.
<div class="card"> | ||
<h3>Sky</h3> | ||
</div> |
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.
not everything needs a parent element. an h3
can stand on its own!
No description provided.