Posts

CST 336 Week 5

Image
  WELCOME TO WEEK 5 Learning Journal This week, we worked on connecting databases to our Express apps. I learned how to connect to a MySQL database from Express and how to use SQL queries to display data on a webpage. For our project, we used FastComet to run the Express app, which was exciting because it meant our app was no longer just running locally. We created a webpage where users could look up authors based on their name, a keyword, category, or number of likes. All the information was pulled directly from a MySQL database.  Incorporating SQL into the Express app was a big step. We wrote queries in the app to get the data we needed based on what the user entered, and it was really satisfying to see the results show up on the page. Express handled the routing, the database provided the data, and it all came together smoothly. This week helped me feel more comfortable working with databases and combining them with my apps. It’s exciting to see how these pieces work togeth...

CST 336 Week 4

Image
WELCOME TO WEEK 4 Learning Journal This week, we worked on some really interesting new topics. I learned how to install Node packages, create a package.json file, and add dependencies. We used npm to add libraries and ran a Node app for the first time, which was a big step forward in building more complex applications. We had a midterm this week, which was pretty challenging for me. The time limit made me nervous, and I struggled to recall some of the things I had learned. However, I felt relieved in a way because I was able to use some of my previous work as a reference, which helped me feel more confident and finish the test.   For the homework assignment, we created a Node.js app using Express, and this time, we weren’t running it locally anymore. It was exciting to see how the app worked as a full Node app. The app displayed random pictures each time it ran, pulling the images from Web APIs. It also displayed random quotes using npm packages. I used an npm package to fetc...

CST 336 Week 3

Image
WELCOME TO WEEK 3 Learning Journal  This week, I learned a lot of new skills in JavaScript and web development. I created HTML forms using different input types, which helped me understand how to collect and handle user input better. I also learned how to make "fetch" calls to get data from external Web APIs, which made my projects more interactive. Another thing I worked on was validating HTML forms with JavaScript to make sure the data entered is accurate.  I used the "Inspect Tool" in the browser to debug and display Web API data, which was really helpful. I also created an HTML page that made several "fetch" calls to work with and show external data dynamically. For homework, I used a Web API that gives you the current weather, including the highs, lows, and conditions. I made a webpage that showed this information and also changed the background image depending on the weather. For example, it showed clouds for cloudy weather, a sunny picture for clear...

CST 336 Week 2

Image
  WELCOME TO WEEK 2 Learning Journal This week, we dove into JavaScript, and I learned a lot. I created variables and used control structures, which are important for building any program. I also learned how to manipulate HTML and CSS with JavaScript to make webpages more interactive and dynamic.  I worked on creating events and event handlers, which let me respond to user interactions on a webpage. I practiced selecting specific HTML elements and interacting with them, and debugging JavaScript programs helped me get better at finding and fixing errors. For our homework, I created a quiz with multiple input types, like text boxes and radio buttons. I used JavaScript event listeners to grade the quiz, which was fun and made me more comfortable working with user input. One of the questions had randomized options every time the page reloaded, and I used the _.shuffle function to make it happen. This week helped me understand JavaScript basics and how to apply them to real projec...

CST 336 Week 1

Image
  WELCOME TO WEEK 1 Learning Journal I have started a new course, Internet Programming, this week. I feel like I will enjoy this class a lot!This week, I worked on HTML and CSS basics. I practiced using HTML tags like headers, paragraphs, line breaks, images, links, lists, and tables to structure content. I also learned about inline, internal, and external styles and when to use each.  In CSS, I studied selectors, properties, and values, and practiced using classes and IDs for targeted styling. I also used pseudo-classes like :hover to add interactivity, like changing link colors when hovered. These concepts gave me a good foundation for creating functional and appealing webpages. I enjoyed working with pseudo-classes the most and want to explore advanced CSS features like animations and grid layouts next. I cannot wait to see what is to come in the following weeks and what new things I will learn!

CST 311 Week 8

Image
  WELCOME TO WEEK 8 Learning Journal We are at the end of this course, finishing up with a short lecture and quiz, mostly focusing on Programming Assignment 4. So far, we have successfully created the Mininet network, the demo video, the diagram, and got the chat server to allow three users to connect. We are waiting for the TLS certification to finish implementing the second part of the project. Today, we have a meeting to discuss what we still need to do, as well as any questions or help needed.  This final week, we learned about Operational Security, including firewalls. There are three types of firewalls: stateless packet filters, stateful packet filters, and application gateways. We also learned about Deep Packet Inspection. Firewalls block unwanted traffic, and although they provide protection, attackers can sometimes still sneak in.  Another device we covered is the IDS (Intrusion Detection System) , which also provides protection by offering deep packet inspection...

CST 311 Week 7

Image
  WELCOME TO WEEK 7 Learning Journal This week involved a lot of multitasking. Since this course is almost over, we took our final this weekend, and studying took most of my time. I reviewed all my notes and used the study guide to help me with my preparation. Additionally, we worked on the team programming assignment, PA4. So far, Edward and I have successfully started the Mininet network, and we were able to run pingall without any issues. We have divided the work for this part efficiently. We also ensured that the legacy network portion was completed before Monday so that our other group members could begin their tasks since they are collaborating on other sections. As a team, we have been working well together with excellent communication and contribution. Hopefully, we can have everything ready or close to completion by Friday. Regarding the lecture, we focused on the link layer. Specifically, we covered its role in error detection, multiple access protocols, and LANs. I foun...