Book Image

Visual Studio 2013 Cookbook

Book Image

Visual Studio 2013 Cookbook

Overview of this book

Table of Contents (17 chapters)
Visual Studio 2013 Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Understanding the JavaScript editor improvements


As you have seen in the previous two recipes, the HTML and CSS editors have been greatly improved in Visual Studio and you'll be pleased to know that the JavaScript editor has also received a significant overhaul. With HTML and JavaScript being first-class choices for developing Windows Store apps, it's not really a surprise that this happened.

Within the HTML5 specification, the marquee tag is of course not valid, but thanks to Aaron Powell (http://www.aaron-powell.com/doing-it-wrong/marquee), we have a way to implement a marquee tag using JavaScript and jQuery. In this recipe, we will write a JavaScript script to emulate a marquee tag so that we can learn how the editor works.

Getting ready

Simply start Visual Studio Express 2013 for Web or any of the premium versions and you are good to go.

How to do it...

As previously noted, JavaScript's popularity makes having a powerful editor very useful. Let's see what VS2013 provides, with the help of...