issues
search
nss-day-cohort-24
/
chatty-pineapple-metal
chatty-pineapple-metal created by GitHub Classroom
0
stars
1
forks
source link
Build - Navigation Bar
#5
Closed
lapinell
closed
6 years ago
lapinell
commented
6 years ago
[x] 1. Create an element to serve as the navigation bar for your application.
[x] 1. Create an element to hold the logo for your application. It can be as simple as text, but if you want to find an image, that's fine.
[x] 1. Create a input field for a user to enter in a message.
[x] 1. Add an event listener for "keypress" and detect when then return key has been pressed in the message field.
[x] 1. When return key is detected, you'll create a new message (
see details below
).
[x] 1. Create a button to clear all messages.
[ ] 1. When the user clicks the clear messages button, all current chat messages should be removed from the application.
[ ] 1. If there are no messages, then the clear messages button should be disabled (
see example above
).
[x] 1. The navigation bar should remain at the top of the screen, even if the contents of the page start to scroll.