Agenda
<aside> 📌 Reminders
Contact: [email protected]
Practical → review material + time to complete lab
Use max-width and margin: auto; to centre your content:
body {
max-width: 60%;
margin: auto;
}
HTML forms are used to collect user input.
Modify the form to include a textarea for posting messages and a submit button.
Example of adding a textarea:
<textarea class="form_element" placeholder="Enter your message"></textarea>
Example of adding a submit button:
<input type="submit" class="btn" value="Submit">
Define a structure to display messages below the form.
Include elements like user name, profile picture, message content, and action icons.
Example HTML structure for a message:
<div class="message">
<!-- TODO -->
<div class="actions">
<!-- TODO -->
</div>
</div>