Here’s my last post on LinkedIn’s JavaScript assessment.


If you’ve used JavaScript at all, then you’ll be familiar with the <script> tag. Like other HTML tags, it too uses attributes, especially src, which points to an external JavaScript file. Let’s say you come across a script tag such as this:

<script src=”app.js” async></script>

What’s the async all about? This boolean attribute “specifies that the script will be executed asynchronously as soon as it is available,” according to A question on LinkedIn’s assessment asks what kind of JavaScript code you can use async for: internal, external, both internal and external…

Welcome back! Ready for some more JavaScript edification? Here’s my next installment on the LinkedIn JavaScript assessment.

What does the ‘fox’ say?

Image by GraphicMama-team from Pixabay

Think you’ve mastered JavaScript arrays? Look over the code below:

var a = [‘dog’, ‘cat’, ‘hen’]
a[100] = ‘fox’

Now, can you guess what will be logged to the console?

The variable a has been assigned the value of an array, whose initial length would be 3. Easy enough. Then they throw us a bit of a curveball on the second line. Can an array with only 3 elements have an additional element with an index set…

Here are a few more questions/topics I came across during my trek through the land of LinkedIn’s JavaScript assessment.

Talkin’ ‘bout My Generator

While studying JavaScript, I’ve seen an awful lot of functions, and I’ve also seen a lot of awful functions (most of them ones that I wrote!). But just when I think I’ve finally mastered the sacred art of the JavaScript function, JavaScript slaps me upside the head with something new and more complex. …

Most of my previous articles focused on questions/topics found on LinkedIn’s HTML and CSS assessments. Now I’m moving on to the JavaScript assessment. As before, I’ll only cover some of the things that you may see on the assessment, but if you’re considering adding the JavaScript skill badge to your LinkedIn profile, these next few articles should prove very helpful.

Object of Your Code

Objects abound in JavaScript. You’re probably familiar with the old-fashioned way of creating an object: an object literal, as in the example below.

var myDog = {  name: “Rudy”,  breed: “Parson Russell Terrier”,  sex: “male”,  age…

Here’s my final post on LinkedIn’s CSS assessment. After this, I plan to write about the JavaScript assessment.

Undercover Elements

CSS allows you to “hide” elements on a web page by setting the display property to none or by setting the visibility property to hidden. One question on the assessment asks what difference, if any, there is between display:none and visibility:hidden. In fact, though both methods conceal elements from view, they don’t work exactly the same way. …

My continuing saga of LinkedIn’s CSS assessment.

Selecting Selectors

One of the first topics you’ll cover as you study CSS is selectors, as these are what enable you to choose which elements to style. There are multiple kinds of CSS selectors, including element, class, id, attribute, pseudo-class, and pseudo-element. This question from the assessment shouldn’t pose any difficulty even for someone fairly new to CSS.

What element(s) do the following selectors match?

  1. .nav {…}
  2. nav {…}
  3. #nav {…}

Though all three examples contain nav in the selector, each has a small but important difference that indicates it would not apply…

Here’s the next installment of my series on LinkedIn’s CSS assessment…

Fascinated by Fonts…

If you’re a fan of the sitcom The Middle, you’ll probably remember that Brick Heck decided to start a club at school called Font Club, where kids could get together and discuss… fonts. Most people probably don’t share Brick’s fascination with fonts, but for web developers, it’s important to learn about them. As advises:

Choosing the right font has a huge impact on how the readers experience a website.

The right font can create a strong identity for your brand.

Using a font that is…

“It seems these LinkedIn assessments are more focused on tripping you up rather than testing your actual knowledge…”

— commenter on YouTube

My last few posts discussed LinkedIn’s HTML assessment, and my experience with it led me to sympathize with the gripe expressed above. Taking the CSS assessment reinforced that sentiment, at least to a degree. But however well these short tests truly indicate your knowledge of HTML, CSS, or whatever the subject is, I figured they were worth taking to help boost my LinkedIn profile. Hopefully, anyway…

My next few posts will focus on the CSS assessment.

Block vs…

This will be my last post about the LinkedIn HTML assessment. As in my previous post, I’ll discuss several HTML attributes that appeared on the assessment.

Control with controls

One question asked what the following code would do:

<audio controls>
<source src=”sound.mp3” type=”audio/mpeg”>
<source src=”sound.ogg” type=”audio/ogg”>
<source src=”sound.wav” type=”audio/wav”>

Let’s break this down. First, inside the <audio> tag you’ll see the controls attribute. Have you ever come across that attribute before? If so, it would have to have been inside either <audio>, as in this example, or <video>, as those are the only elements that the controls attribute can…

This is my third post about LinkedIn’s HTML assessment. In my previous posts, I mostly discussed HTML elements that appeared in the questions and/or lists of possible answers. In this and my next post, I’ll discuss attributes that I saw on the assessment.

About Attributes

Even if you’re new to HTML, you’ve probably come across items in an element’s opening tag that are composed of a word or several letters followed by “=”, which in turn is followed by some text enclosed in quotation marks. A common one is href:

<a href=””>Medium</a>

The href is an example of an HTML…

Lyndel Barnes

Lyndel holds an MA in English and has worked in customer service, education and insurance. He recently finished Flatiron School's software engineering program.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store