Code & Surf Bali
07/01/2023
💡The Document Object Model (DOM) is a programming interface for HTML(HyperText Markup Language) and XML(Extensible markup language) documents. It defines the logical structure of documents and the way a document is accessed and manipulated.
💻DOM is a way to represent the webpage in a structured hierarchical way so that it will become easier for programmers and users to glide through the document.
👉🏽 With DOM, we can easily access and manipulate tags, IDs, classes, Attributes, or Elements of HTML using commands or methods provided by the Document object.
*Example in the second picture
👩🏼💻🧑🏾💻 There are less and less places left, RESERVE YOURS NOW!
https://www.codesurfbali.com/
COMING SOON!
23/12/2022
💡Loops are used in JavaScript to perform repeated tasks based on a condition. Conditions typically return true or false. A loop will continue running until the defined condition returns false.
The for loop consists of three optional expressions, followed by a code block:
🔹Initialization - This expression runs before the ex*****on of the first loop, and is usually used to create a counter.
🔹Condition - This expression is checked each time before the loop runs. If it evaluates to true, the statement or code in the loop is executed. If it evaluates to false, the loop stops. And if this expression is omitted, it automatically evaluates to true.
🔹FinalExpression - This expression is executed after each iteration of the loop. This is usually used to increment a counter, but can be used to decrement a counter instead.
Take a look at the following examples!💻
Would you like to try this new lifestyle with us?
Any questions? Ask us what it's all about in the comments.
Book your place!👇🏼
www.codesurfbali.com/
21/12/2022
Uluwatu is located on the Bukit peninsula at the southern tip of Bali. It is a fantastic place to discover.
🌊Its beaches are breathtaking and its waves are ideal for surfing: a surfer's paradise!
🛕The Uluwatu temple is one of the most important sea temples on the island and protects Bali from evil sea spirits.
🐵Uluwatu temple is home to a forest of monkeys.
🌅You will be able to see amazing sunsets.
Will you come with us to enjoy this paradise?🤗💙
Write to us at:👇🏼
https://www.codesurfbali.com/
We'll be happy to chat with you!🤗
Click here to claim your Sponsored Listing.
Category
Website
Address
Bali