Project 4 - Function parameters; Arguments; Dev tools; Console [Create the ”My preference” app]

Published: 13 March 2024
on channel: You Can CODE!
39
1

Create the ”My preference” app
1. Create a HTML file with some texts and 2 buttons
2. When we click the buttons, the bottom text should switch to:
“Fruits” (1st button) or
“Cookies” (2nd button)
3. The JavaScript code should contain only 1 (one) function

Chapters:
00:00 - Introduction
00:15 - Nano Project description
00:58 - Hands-on: Requirement 1 - Create a HTML file with some texts and 2 buttons
01:46 - Hands-on: Requirement 2 - When we click the buttons, the bottom text should switch to:
“Fruits” (1st button) or
“Cookies” (2nd button)
03:04 - Hands-on: Requirement 3 - The JavaScript code should contain only 1 (one) function
04:22 - C&T - Shortcut for duplicating a line
05:35 - C&T - Shortcut for creating an element with an "id"
06:06 - C&T - How multiple JavaScript work; onclick; innerHTML
08:22 - C&T - Live Server extension
11:20 - C&T - Dev tools - Elements
13:26 - C&T - Dev tools - Console (errors debugging)
16:49 - C&T - Function parameters
17:36 - C&T - Function arguments
19:23 - C&T - Tip: 'cleaning' a div content
20:59 - C&T - Function parameters x arguments
21:50 - FAQ - Arguments between Double Quotes?
22:14 - FAQ - Functions with multiple arguments
22:29 - FAQ - Dev tools - Dark Theme
23:08 - Closing


On this page of the site you can watch the video online Project 4 - Function parameters; Arguments; Dev tools; Console [Create the ”My preference” app] with a duration of hours minute second in good quality, which was uploaded by the user You Can CODE! 13 March 2024, share the link with friends and acquaintances, this video has already been watched 39 times on youtube and it was liked by 1 viewers. Enjoy your viewing!