diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 00000000..b28757dc Binary files /dev/null and b/.DS_Store differ diff --git a/README.md b/README.md index 60f55e53..da37a728 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,17 @@ -# Project Name +# Project chatbot -Replace this readme with your own information about your project. - -Start by briefly describing the assignment in a sentence or two. Keep it short and to the point. +My task was to develop an interactive chatbot in JavaScript where the user can communicate with the bot by entering their name and responding to various questions. I was to build upon the existing code by handling user inputs, controlling the flow of the conversation, and adding new features and effects such as conditional statements, different input types, and potentially sound. ## The problem -Describe how you approached to problem, and what tools and techniques you used to solve it. How did you plan? What technologies did you use? If you had more time, what would be next? +To approach the problem, I started by carefully reading through the existing code (and watched Jennie's video) to understand how the chatbot was structured and which functions were already in place. I identified the key areas where I needed to add new functionality, such as handling user input, managing the conversation flow, and dynamically updating the content on the page. + +I used JavaScript, HTML, and CSS as the main technologies for this project. I utilized JavaScript to handle user interactions, create functions for different conversation stages, and control the timing of messages using setTimeout. In addition, I employed CSS to style the chat interface and make it visually appealing, and HTML to structure the content on the page. + +For planning, I outlined the conversation flow and identified key questions and answers to include. I then broke down the development into smaller tasks, such as creating event listeners for user inputs, implementing functions to handle specific stages of the conversation, and testing each step to ensure it worked correctly. + +If I had more time, I would further enhance the chatbot by adding more diverse response types, such as drop-down menus or clickable options, implementing additional sound effects, and optimizing the code to make it more scalable and efficient. ## View it live -Have you deployed your project somewhere? Be sure to include the link to the deployed project so that the viewer can click around and see what it's all about. +https://cookiebot-lifeisbetterwithcookies.netlify.app/ diff --git a/code/.DS_Store b/code/.DS_Store new file mode 100644 index 00000000..40f57e5e Binary files /dev/null and b/code/.DS_Store differ diff --git a/code/assets/.DS_Store b/code/assets/.DS_Store new file mode 100644 index 00000000..b3c155c9 Binary files /dev/null and b/code/assets/.DS_Store differ diff --git a/code/assets/Userpic.png b/code/assets/Userpic.png new file mode 100644 index 00000000..b6a28cde Binary files /dev/null and b/code/assets/Userpic.png differ diff --git a/code/assets/botpic1.png b/code/assets/botpic1.png new file mode 100644 index 00000000..cc5b45c5 Binary files /dev/null and b/code/assets/botpic1.png differ diff --git a/code/assets/botpic2.png b/code/assets/botpic2.png new file mode 100644 index 00000000..3798b9dd Binary files /dev/null and b/code/assets/botpic2.png differ diff --git a/code/assets/chatsound.wav b/code/assets/chatsound.wav new file mode 100644 index 00000000..f9c70d9c Binary files /dev/null and b/code/assets/chatsound.wav differ diff --git a/code/assets/cookiemonster2.png b/code/assets/cookiemonster2.png new file mode 100644 index 00000000..a46ae2e4 Binary files /dev/null and b/code/assets/cookiemonster2.png differ diff --git a/code/assets/cookiemonster3.png b/code/assets/cookiemonster3.png new file mode 100644 index 00000000..0d7712a6 Binary files /dev/null and b/code/assets/cookiemonster3.png differ diff --git a/code/assets/userlogomonster.png b/code/assets/userlogomonster.png new file mode 100644 index 00000000..9e0ba924 Binary files /dev/null and b/code/assets/userlogomonster.png differ diff --git a/code/index.html b/code/index.html index 316eb187..a95969f8 100644 --- a/code/index.html +++ b/code/index.html @@ -1,23 +1,40 @@ -
- - - - -