字幕列表 影片播放 列印英文字幕 Once upon a time there was internet. You know, a bunch of computers all connected by wires. One person on a computer can read documents from another person's computer using a language called HTML. Each computer's web browser can properly display these documents. Add CSS to the mix and you've got a beautifully-styled web page. It is important to note that neither HTML nor CSS are programming languages. back in Back in 1995 a few people at Netscape started to wonder, "What if there was a way to write a computer program for the browser?" This way, when HTML and CSS gets sent from one computer to another you can also send over some programming. This code would run in someone's web browser and create an even better user experience. Thus JavaScript was born! You're probably familiar with Twitter. They use a lot of JavaScript on their web page to do things. Such as opening up a tweet in a bigger window for instance Also, any of the actions below a tweet will trigger some JavaScript to be run. If I click the star to favorite a tweet JavaScript will tell the server, "This tweet is now a favorite." If I click on reply you can see the JavaScript behavior at work yet again — it focuses on the expanded reply box. All of this behavior is made possible by JavaScript It's worth mentioning that Java is not JavaScript. They are two separate programming languages. JavaScript is not just for programming in the browser, but on servers, game programming, databases, and even robots. Yeah, robots! We're only limited by our imaginations. Are you excited yet? To get started — if you're new to these parts — please take a moment to play through our free five minute tutorial on JavaScript.com. Or you can head over to our getting started page where we've curated a list of free places to learn. On our news page you can submit your own JavaScript news, read what other people have posted, subscribe to our weekly newsletter or listen to our podcast. Welcome to the wonderful world of JavaScript. We hope you enjoy your stay. Awesome! Let's try it!
B1 中級 美國腔 什麼是JavaScript? (What is JavaScript?) 152 26 HsuanLee 發佈於 2021 年 01 月 14 日 更多分享 分享 收藏 回報 影片單字