Tag: js

7 JavaScript Runs In A Host Environment

Now the last thing we saw in the previous definition slide is that JavaScript runs on a host environment. So that means a JavaScript engine can be part where it can be executed in different environments. The most well known environment is the browser. Modern browsers have Javascript engines built in and they’re therefore capable

Resume Header Solution – JavaScript Basics

And here’s the code that we use to do that. Now, you might remember formattedName from before. And we added formattedRole. Now, to create our formattedRole, we took HTMLheaderRole.replace, and we replaced the data placeholder with the role that we created up here. So, this next bit of code is a little bit tricky. So,