[Flatiron SE] Day 24

PHPz
Release: 2024-08-29 11:07:32
Original
863 people have browsed it

[Flatiron SE] Day 24

Howdy y'all, Feesh here,

This will just be my first ever blog post! I am doing this from the request of my amazing instructor over at Flatiron School. I will be attempting to make a blog post each day documenting my development through my coding journey. And HELLO and WELCOME and employers reading this in the future!

Now I need to be honest, this is not actually my "first day" of flatiron. I actually started two days ago on Monday. But I believe today was absolutely the day where I really got invested in what I am learning.

Speaking of, lets get into what I learned today! I wont be going over everything, just the things that intrigued me the most.

Event Listeners

I officially learned about JavaScript's most exciting feature...EVENT LISTENERS. My original language I was learning before this was C# which shares some similarity's, but really helped me understand the concept better. Lets take two examples so I can explain what I mean with a simple keydown for both Java and C#.

JavaScript

addEventListener("keydown", (event) => {}); onkeydown = (event) => {};
Copy after login

C#

void Update() { if (Input.GetKeyDown("space")) { Debug.Log("space key was pressed"); } }
Copy after login

Now looking at both of them I can start to see the difference between them. Like how C# needs a constant update to look for commands while Java does not, quite interesting.

Work Place Practice

One of the more smaller things I enjoyed doing today was practicing how a workspace job would go. I was giving a website with a form and submit button. And I was basically told...

As a user, I should be able to type a task into the input field.
As a user, I should be able to click some form of a submit button.
As a user, I expect to see the task string that I provided appear in the DOM after the submit button has been activated.

And I had to adapt and make theses requests with the skills I learned prior. Very exciting!

But that's about everything I felt was unique to my learning journey. Thank you to the folks at Flatiron for the great opportunity. See yall tomorrow ?

The above is the detailed content of [Flatiron SE] Day 24. For more information, please follow other related articles on the PHP Chinese website!

source:dev.to
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!