Skip to content

skeedrick/Week-3-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The Loneliest Chatroom

Features

Try to implement as many as possible of the following. As always, done is better than perfect and half a loaf is better than none.

  • Typing a message into the text input and hitting enter should create a message in the chatbox.
  • The text box should be cleared out when enter is pressed to make room for the next message.
  • The message should always be from either "Me", "Myself", or "I".
  • The message should be timestamped.
  • Clicking an X by the message should delete the message.
  • Clicking the "I feel lonely" button should make an API request to the Internet Chuck Norris Joke Database -- specificially, to the random joke endpoint: https://api.icndb.com/jokes/random. Hint: you probably want to use fetch to do this.
  • It should create a new message in the chatbox, from "Fact"

Tech

  • Feel free to implement with jQuery, vanilla JavaScript, or React
  • This afternoon's solution will be presented using only vanilla JS

Submissions

  • Clone this repo
  • Create and assign yourself an issue
  • Submit your work in the form of a pull request that closes the issue
  • Your branch should have the naming convention feature-issue-number-your-name

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published