Working with JavaScript Variables and Datatypes

preview_player
Показать описание
A comparison of Simple and Complex Datatypes in Javascript, simple string concatenation, simple mathematical operators plus a brief introduction to Arrays.
Рекомендации по теме
Комментарии
Автор

All your videos are so concise and useful! They have helped me get 'unstuck' so many times. Thank you for creating them!

sophieclark
Автор

I really do not understand why this channel have only 39k people subscribed. This content is a piece of gold! You deserve all the best in this world to put out all your valuable knowledge and help people like me! Thank you and keep it up!!!

GeracaoEmpresarial
Автор

You have a very pleasant voice and diction.

stormsrider
Автор

I am from India 🇮🇳 your video🎥 is so useful than other you tube channel thankx

dontworry
Автор

Ricky Bobby! LOL :-)
Hope you are well Steve!

Rebel
Автор

Can arrays be structured within matrixes... like in Basic (I may be a bit inaccurate here)?

CesarJuarezVargas
Автор

Q1: Had you written "7+3", would the result have been "7+3" instead of 10 due to the presence of the quotations?
Q2: From lines 14-15, what's the new value that ID is taking? is it the result of 7+3 all throughout the lines? line 14 would be 40 and line 15 would be 10/4... that's the part I didn't follow.

CesarJuarezVargas
Автор

WHATS THIS MEAN?
Go to the bc_today.js file in your editor. At the top of the file, insert a statement indicating that the code will be handled by the browser assuming strict usage.
Note that within the file is the getEvent() function, which returns the HTML code for the daily events at the union given a day number ranging from 0 (Sunday) to 6 (Saturday).
Variable Declaration
Declare the thisDate variable containing the Date object for the date October 12, 2018.
Declare the dateString variable containing the text of the thisDate variable using local conventions.
Declare the dateHTML variable containing the following text string
<h2>date</h2>
where date is the value of the dateString variable.
Create the thisDay variable containing the day of the week number from the thisDate variable.
(Hint: Use the getDay() method.)
Function Call
Using the thisDay variable as the parameter value, call the getEvent() function to get the HTML code of that day’s events and store that value in a variable named eventHTML.
Page Elements
Applying the insertAdjacentHTML() method to the page element with the ID “unionToday”, insert the value of the dateHTML plus the eventHTML variables before the end of the element contents.
Document your code with descriptive comments.

Endoe.McKronic
Автор

Can you please update to 2020, whenever you have time. That would be really helpful.

TrendRain
Автор

Shouldnt strings be considered complex data types as well? Strings have properties such as toUpperCase and other so why arent they considered complex or compound?

nelsonjimenez
Автор

Isn't an array an object data type?

adi