First time at GK Digital?

GK Digital is an online, collaborative learning platform built from the ground up to be a superior learning experience on the web. It is self-paced and supported by instructors and peers. GK Digital is professional training in the 21st century, from Global Knowledge.
Task: Write object-oriented JavaScript with prototypes

JavaScript is an object-oriented language. Unlike the object-oriented languages you're probably familiar with, JavaScript doesn't have classes. You might be thinking, "Without classes, how do you define and construct objects?"

Instead of being a classical language, JavaScript is what's known as a prototypal language. That's a fancy way of saying that it uses prototypes instead of classes.

Prototypes wouldn't be that difficult of a concept to grasp if we weren't so used to working with classes. Also, the syntax that JavaScript uses to define prototypes and associate them with objects is a little on the obtuse side. This encourages many developers to try to hide prototypes and simulate the familiar class-based model.

This task will get you familiar and, hopefully, comfortable defining and using prototypes.

System.InvalidOperationException: The model item passed into the dictionary is of type 'LearningLine.Interface.ICourse[]', but this dictionary requires a model item of type 'LearningLine.Mongo.Course[]'. at System.Web.Mvc.ViewDataDictionary`1.SetModel(Object value) at System.Web.Mvc.ViewDataDictionary..ctor(ViewDataDictionary dictionary) at System.Web.Mvc.WebViewPage`1.SetViewData(ViewDataDictionary viewData) at RazorGenerator.Mvc.PrecompiledMvcView.Render(ViewContext viewContext, TextWriter writer) at System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter writer, ViewEngineCollection viewEngineCollection) at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model) at ASP._Views_Tasks_ShowPublic_cshtml.Execute()

Preview any course on GK Digital for free.

Just choose a course from our catalog and then press preview course for free.