Experience
Here you can find my
works!
Intern at Asian Media Access
- My script if you are interested in reading it for more knowledge! introJavaScript
- This week’s assignment! Assignment1_JS
Week_2 (4/2/21)
This is a short summary of what we will be doing for this week!
- Install Visual Studio Code Here.
- Const value in JavaScript is fixed and you can not assign another value to it after execution. (From last week)
- Check out the code here! 2constNumber
- Alert() method will prompt an specified box with the content you entered and an OK button.
- Check out the code here! 3alert
- If you want to have a JavaScript standalone, open a alert.js file and put inalert(“hello World!);
- Ways of entering Javascript into a HTML website.
- in the <head> tag is not prefer but you can do<script defer src = “3alert.js”></script>The script is executed when the page has finished parsing.Downside of this is because it gives a bad user experiment by taking time running JavaScript and not seeing content in it
- in the <body> tag
- in the <head> tag is not prefer but you can do
- JavaScript can change html content, html attributes values, CSS style, hide HTML elements, show html elements
- HTML content 5.1helloJavaScript
- Change CSS Style 5.2changeCssStyle
- Hide HTML element 5.3hideHtmlElements
- Show HTML element 5.4showHtmlElements
- Change HTML attributes 5.5changeHtmlAttributesValues
- Other examples or use it as ASSIGNMENT
- Show the current date and time. 6dateTime
- Change background color. 6colorChanging
- Clock. 6clock
- For more information, feel free to check out this website: https://www.w3schools.com/js/default.asp