When we want to leave our page and load our game settings in another browser, we can save our game settings in a text file. This can be done by writing its content in a blob.
- [Narrator] Welcome to the video on…Save a Game into a File.…In the previous video, we looked at how to play the sound…when encountering a bear.…In this video, we're going to take a look…at how to save our game into a text file.…First of all, we will create the text file and then we will…add the content to the text file, to the link.…A Blob object represents a file-like object…of immutable raw data.…
We will use it later in our video.…Another small HTML5 feature is the download attribute.…When you add this to a link, it means that the browser…needs to download the resource,…rather than navigating to it.…Can I use this download feature in every browser,…is probably a question that you might ask yourself.…Well, there is a website where you can check…if a certain web feature is supported by a certain browser.…And that website is, caniuse.com.…
It is a very useful website.…Especially when you care about the browser support.…The download feature, for example,…is not supported by Internet Explorer.…It is always very useful to understand the dart docs…
Dart is a new open-source programming language for the web. It is a single language for both client and server that can be used to build large-scale web, server, and mobile applications. Stop solving new challenges with the same old tools—let Dart show you a whole new way! In this course, author Joris Hermans guides you into the wonderful world of web development with the dartlang programming language. By following along, you get a more mature sense of how to build a great application and see all the facets needed to reach that goal.
Learn the important language features of Dart, along with some advanced features such as mixins and null-aware operators. Later on, see how to use unit tests, work with browser APIs, and set up of a web server. Finally, take a look at Angular 2, a great front-end framework also built by Google.
This course provides you with everything you need to know to start or enhance your career in web development with Dart.
- Installing Dart
- Creating a basic web application with Dart
- Creating DOM interactions
- Creating classes and objects
- Implementing a library
- Using parameters, null-aware operators, and mixins
- Testing your code
- Setting up APIs
- Using Dart localStorage
- Working with AngularJS
- Troubleshooting Dart applications