From the course: Introduction to Dart
Unlock the full course today
Join today to access over 21,500 courses taught by industry experts or purchase this course individually.
Challenge: Display your nationality - Dart Tutorial
From the course: Introduction to Dart
Challenge: Display your nationality
(upbeat digital music) - [Instructor] In this challenge, you will write and run a Dart program that displays your nationality using Dart pad. Here are the steps you would need to complete. First, go to dartpad.dartlang.org and select the Dart option. Secondly, use the print function to display the text. My nationality is Nigeria on the screen. And finally, press the run button to execute your code and see the output. Remember to replace the text which is Nigeria with your nationality. Once you've completed this challenge you can test your code by changing the nationality to another country and see the output changes accordingly. This challenge should take no more than five minutes to complete. Good luck and happy coding.