<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Do Cuong</title>
    <description>The latest articles on DEV Community by Do Cuong (@learner666).</description>
    <link>https://dev.to/learner666</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4015722%2F6a19a159-a2d5-41a3-b2f2-a13d124efc22.png</url>
      <title>DEV Community: Do Cuong</title>
      <link>https://dev.to/learner666</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/learner666"/>
    <language>en</language>
    <item>
      <title>2/11</title>
      <dc:creator>Do Cuong</dc:creator>
      <pubDate>Mon, 02 Nov 2026 03:21:26 +0000</pubDate>
      <link>https://dev.to/learner666/211-387n</link>
      <guid>https://dev.to/learner666/211-387n</guid>
      <description>&lt;p&gt;2/11&lt;br&gt;
TOP - Foundation: 95%&lt;br&gt;
Project: Calculator&lt;/p&gt;

&lt;p&gt;I finished the work sooner than I thought so I have some free time to code.&lt;/p&gt;

&lt;p&gt;Updated number1 and number2 variable that I stuck on yesterday.&lt;/p&gt;

&lt;p&gt;I actually think up the solution while resting yesterday, just applied it today.&lt;/p&gt;

&lt;p&gt;Good thing it work.&lt;/p&gt;

&lt;p&gt;My Calculator can do simple math (+,-,/,*) with 2 number now.&lt;/p&gt;

&lt;p&gt;Will keep working to improve it like TOP assignment.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>learning</category>
      <category>beginners</category>
      <category>javascript</category>
    </item>
    <item>
      <title>1/11</title>
      <dc:creator>Do Cuong</dc:creator>
      <pubDate>Sun, 01 Nov 2026 03:48:27 +0000</pubDate>
      <link>https://dev.to/learner666/111-5786</link>
      <guid>https://dev.to/learner666/111-5786</guid>
      <description>&lt;p&gt;1/11&lt;br&gt;
TOP - Foundation: 95%&lt;br&gt;
Project: Calculator&lt;/p&gt;

&lt;p&gt;Currently stuck with the logic of the Calculator app.&lt;br&gt;
The part about update number1 and number2 variable.&lt;/p&gt;

&lt;p&gt;Will keep working on it on Tuesday ( I have something to do on Monday )&lt;/p&gt;

&lt;p&gt;I thought it would be easy but I guess not.&lt;/p&gt;

&lt;p&gt;Actually I once made a simple calculator webpage once, with the help of AI though.&lt;/p&gt;

&lt;p&gt;I remember I done it in half an hour. Feel very easy.&lt;br&gt;
The logic was understandable. Feel simple.&lt;/p&gt;

&lt;p&gt;And I am still stuck now.&lt;br&gt;
Made me realized how much I depended on AI.&lt;br&gt;
The worst part is that I didn't even realize it back then.&lt;br&gt;
I thought, oh, I understand all the code, I learned new thing.&lt;br&gt;
I thought I did 50% of the work by prompting, AI did the last 50%.&lt;br&gt;
Now I think I did about 5-10% of the work ( or maybe less, lol )&lt;/p&gt;

&lt;p&gt;No wonder the learning didn't retain in my memory.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>javascript</category>
      <category>learning</category>
      <category>programming</category>
    </item>
    <item>
      <title>31/10</title>
      <dc:creator>Do Cuong</dc:creator>
      <pubDate>Sat, 31 Oct 2026 03:23:48 +0000</pubDate>
      <link>https://dev.to/learner666/3110-4icl</link>
      <guid>https://dev.to/learner666/3110-4icl</guid>
      <description>&lt;p&gt;31/10&lt;br&gt;
TOP - Foundation: 95%&lt;br&gt;
Project: Calculator&lt;/p&gt;

&lt;p&gt;Finally start building Calculator.&lt;/p&gt;

&lt;p&gt;In script.js:&lt;br&gt;
Made basic math functions&lt;br&gt;
Made operate function: operate('operator', number1, number2)&lt;/p&gt;

&lt;p&gt;In index.html&lt;br&gt;
Made basic html elements: title, screen, operator buttons, number buttons, "=" button, clear button.&lt;/p&gt;

&lt;p&gt;Will continue working on it tomorrow.&lt;/p&gt;

</description>
      <category>html</category>
      <category>devjournal</category>
      <category>javascript</category>
      <category>webdev</category>
    </item>
    <item>
      <title>30/10</title>
      <dc:creator>Do Cuong</dc:creator>
      <pubDate>Fri, 30 Oct 2026 03:32:51 +0000</pubDate>
      <link>https://dev.to/learner666/3010-4ig3</link>
      <guid>https://dev.to/learner666/3010-4ig3</guid>
      <description>&lt;p&gt;30/10&lt;br&gt;
TOP - Foundation: 93%&lt;br&gt;
Object Basics&lt;/p&gt;

&lt;p&gt;Completed the last 3 tasks of object basics exercises in the foundation repo:&lt;/p&gt;

&lt;p&gt;03 - fibonacci was pretty tough&lt;/p&gt;

&lt;p&gt;04 - getTheTittles was easy, no diff&lt;/p&gt;

&lt;p&gt;05 - findTheOldest was tough, but I think not as tough as fibonacci&lt;/p&gt;

&lt;p&gt;Learn about ??= at the findTheOldest task solution, pretty neat trick.&lt;br&gt;
I used sort() to sort the array and get the [0] index to get the oldest. The solution was using reduce() to get the oldest though.&lt;br&gt;
Seeing reduce()  use for sorting was pretty cool.&lt;/p&gt;

&lt;p&gt;Finally finished Object basics lesson.&lt;br&gt;
Only Project: Calculator now.&lt;/p&gt;

&lt;p&gt;Almost done with Foundation, it was a long and tough journey, about 4 months.&lt;/p&gt;

&lt;p&gt;I learned a lot in this time.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>learning</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
    <item>
      <title>29/10</title>
      <dc:creator>Do Cuong</dc:creator>
      <pubDate>Thu, 29 Oct 2026 03:23:05 +0000</pubDate>
      <link>https://dev.to/learner666/2910-2imn</link>
      <guid>https://dev.to/learner666/2910-2imn</guid>
      <description>&lt;p&gt;29/10&lt;br&gt;
TOP - Foundation: 93%&lt;br&gt;
Object Basics&lt;/p&gt;

&lt;p&gt;Working with object basics exercises in the foundation repo.&lt;/p&gt;

&lt;p&gt;Done 2/5.&lt;/p&gt;

&lt;p&gt;The exercise 2 - checking for palindromes was really hard.&lt;br&gt;
Have to go over the array method and string method a lot.&lt;/p&gt;

&lt;p&gt;In the end I completed it, by using replaceAll to trim out the special characters and array.every() to check if each word is satisfy the condition though.&lt;br&gt;
TOP solution was using filter to filter all the alphanumerical fo the string then using reverse() which I think is better than my solution&lt;/p&gt;

&lt;p&gt;Still confuse a lot while learning but I am starting to google with confidence now, lol.&lt;/p&gt;

</description>
      <category>learning</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
    <item>
      <title>28/10</title>
      <dc:creator>Do Cuong</dc:creator>
      <pubDate>Wed, 28 Oct 2026 03:24:50 +0000</pubDate>
      <link>https://dev.to/learner666/2810-gpf</link>
      <guid>https://dev.to/learner666/2810-gpf</guid>
      <description>&lt;p&gt;28/10&lt;br&gt;
TOP - Foundation: 93%&lt;br&gt;
Object Basics&lt;/p&gt;

&lt;p&gt;Done with the two array cardio challenges of Javascript30.&lt;br&gt;
07 - Array Cardio Day 2 was easier than 04 - Array Cardio Day 1 imo.&lt;/p&gt;

&lt;p&gt;First time using array.some() and array.every() method.&lt;/p&gt;

&lt;p&gt;array.some() check if any of the item in the array satisfy for the condition.&lt;br&gt;
Return true if atleast 1 item passed. If all failed then return false.&lt;/p&gt;

&lt;p&gt;array.every() check if all the items in the array satisfy the condition.&lt;br&gt;
Return true if all items passed. return false if even 1 item failed.&lt;/p&gt;

&lt;p&gt;Pretty neat.&lt;/p&gt;

&lt;p&gt;Tomorrow, I will work with the last part of  TOP assignment, which is foundations/object basics exercises.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>learning</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
    <item>
      <title>27/10</title>
      <dc:creator>Do Cuong</dc:creator>
      <pubDate>Tue, 27 Oct 2026 04:01:41 +0000</pubDate>
      <link>https://dev.to/learner666/2710-i09</link>
      <guid>https://dev.to/learner666/2710-i09</guid>
      <description>&lt;p&gt;27/10&lt;br&gt;
TOP - Foundation: 93%&lt;br&gt;
Object Basics&lt;/p&gt;

&lt;p&gt;Working with Javascript30 challenges:&lt;br&gt;
04 - Array Cardio Day 1 ( currently here, stuck with the last reduce practice )&lt;br&gt;
07 - Array Cardio Day 2&lt;/p&gt;

&lt;p&gt;I almost freeze when I saw all the practice challenges on Javascript30. Thought I need to do all that.&lt;/p&gt;

&lt;p&gt;Good thing I only need to do 2 challenge, well, maybe I will work with the other challenge later.&lt;/p&gt;

</description>
      <category>learning</category>
      <category>beginners</category>
      <category>programming</category>
      <category>javascript</category>
    </item>
    <item>
      <title>26/10</title>
      <dc:creator>Do Cuong</dc:creator>
      <pubDate>Mon, 26 Oct 2026 03:19:02 +0000</pubDate>
      <link>https://dev.to/learner666/2610-1md9</link>
      <guid>https://dev.to/learner666/2610-1md9</guid>
      <description>&lt;p&gt;26/10&lt;br&gt;
TOP - Foundation: 93%&lt;br&gt;
Object Basics&lt;/p&gt;

&lt;p&gt;Done last 2 tasks from array methods article of javascript.info.&lt;br&gt;
YAy, Finally done all the tasks from this. Hardest lesson so far.&lt;/p&gt;

&lt;p&gt;The last task which is Create keyed object from array was really hard, I need 1 hour to think for a solution.&lt;br&gt;
At the end I solved it, but not by using reduce method like the web require but by using array for loop though 😅 &lt;/p&gt;

&lt;p&gt;After I checked the solution and it suddenly feel so simple though, dunno why when I was working with it it feel so hard.&lt;/p&gt;

&lt;p&gt;Still have 2 more parts in the TOP assignment for me to practice.&lt;/p&gt;

</description>
      <category>learning</category>
      <category>javascript</category>
      <category>programming</category>
    </item>
    <item>
      <title>25/10</title>
      <dc:creator>Do Cuong</dc:creator>
      <pubDate>Sun, 25 Oct 2026 03:32:26 +0000</pubDate>
      <link>https://dev.to/learner666/2510-336l</link>
      <guid>https://dev.to/learner666/2510-336l</guid>
      <description>&lt;p&gt;25/10&lt;br&gt;
TOP - Foundation: 93%&lt;br&gt;
Object Basics&lt;/p&gt;

&lt;p&gt;Read through the content of object basics lesson on TOP&lt;br&gt;
Learn more about object reference, how different it is compared to primitive.&lt;/p&gt;

&lt;p&gt;Declare a primitive variable =&amp;gt; contain a copy of the information provided to it. // get data value&lt;br&gt;
Declare an object variable =&amp;gt; contain a reference to the object provided to it. // get location&lt;/p&gt;

&lt;p&gt;Working with the left over practice lessons from array method:&lt;br&gt;
&lt;a href="https://javascript.info/array-methods#tasks" rel="noopener noreferrer"&gt;https://javascript.info/array-methods#tasks&lt;/a&gt;&lt;br&gt;
Done 3/5 tasks&lt;/p&gt;

</description>
      <category>learning</category>
      <category>beginners</category>
      <category>javascript</category>
      <category>programming</category>
    </item>
    <item>
      <title>24/10</title>
      <dc:creator>Do Cuong</dc:creator>
      <pubDate>Sat, 24 Oct 2026 03:30:59 +0000</pubDate>
      <link>https://dev.to/learner666/2410-2358</link>
      <guid>https://dev.to/learner666/2410-2358</guid>
      <description>&lt;p&gt;24/10&lt;br&gt;
TOP - Foundation: 93%&lt;br&gt;
Object Basics&lt;/p&gt;

&lt;p&gt;Read more about object on: &lt;a href="https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Scripting/Object_basics" rel="noopener noreferrer"&gt;https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Scripting/Object_basics&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Great read.&lt;/p&gt;

&lt;p&gt;Don't know if because I read about object on &lt;a href="https://javascript.info/object" rel="noopener noreferrer"&gt;https://javascript.info/object&lt;/a&gt;. yesterday so my understanding of object feel clearer now or MDN explain easier to understand than javascript.info ( MDN's explainations often feel harder to understand than javascript.info imo )&lt;/p&gt;

&lt;p&gt;Understand more about object property and method.&lt;br&gt;
Object property is used to refer to data items inside object.&lt;br&gt;
Object method refer to function inside object. (object method is still an object property though)&lt;/p&gt;

&lt;p&gt;Learn more about this.&lt;br&gt;
This refer to the current object the method is called on.&lt;br&gt;
If the object has a nested object inside of it and inside of that nested object have a method with this then this here refer to the nested object, not the outer object.&lt;/p&gt;

&lt;p&gt;Example:&lt;br&gt;
const person = {&lt;br&gt;
  name: { first : 'John', last: 'Smith' },&lt;br&gt;
  lookForThis() { console.log(this) },&lt;br&gt;
  obj: { lookForThis() { console.log(this) }},&lt;br&gt;
};&lt;/p&gt;

&lt;p&gt;person.lookForThis() // get person object&lt;br&gt;
person.obj.lookForThis() // get obj object&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>javascript</category>
      <category>learning</category>
      <category>programming</category>
    </item>
    <item>
      <title>23/10</title>
      <dc:creator>Do Cuong</dc:creator>
      <pubDate>Fri, 23 Oct 2026 03:31:56 +0000</pubDate>
      <link>https://dev.to/learner666/2310-3fkk</link>
      <guid>https://dev.to/learner666/2310-3fkk</guid>
      <description>&lt;p&gt;23/10&lt;br&gt;
TOP - Foundation: 93%&lt;br&gt;
Object Basics&lt;/p&gt;

&lt;p&gt;Start learning about object data type.&lt;br&gt;
Read &lt;a href="https://javascript.info/object" rel="noopener noreferrer"&gt;https://javascript.info/object&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Creating new object:&lt;br&gt;
let obj = new Object();&lt;br&gt;
or let obj = {};&lt;/p&gt;

&lt;p&gt;Object have property. Each property consist of 2 part: key and value.&lt;br&gt;
example of an object:&lt;br&gt;
let user = {&lt;br&gt;
 name: "John",//key: 'name'( key is string data type ),value:"John"&lt;br&gt;
 age: 30, //key: 'age', value:30.&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;Can use dot notation to access obj value.&lt;br&gt;
user.name // 'John'&lt;br&gt;
user.surname = "Smith" // add new property to user obj.&lt;br&gt;
delete user.name // delete property from obj.&lt;/p&gt;

&lt;p&gt;dot notation need valid variable identifier. Mean you can't use:&lt;br&gt;
user.is Admin = true;&lt;br&gt;
or user."is Admin" = true;&lt;br&gt;
these won't work&lt;br&gt;
can use [] instead.&lt;br&gt;
user["is Admin"] = true // this worked.&lt;/p&gt;

&lt;p&gt;To check for property in obj use "key" in obj.&lt;br&gt;
Example: "name" in user // true&lt;br&gt;
To iterate over an obj use for (let key in obj) loop&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>javascript</category>
      <category>basic</category>
      <category>learning</category>
    </item>
    <item>
      <title>22/10</title>
      <dc:creator>Do Cuong</dc:creator>
      <pubDate>Thu, 22 Oct 2026 04:20:24 +0000</pubDate>
      <link>https://dev.to/learner666/2210-55nh</link>
      <guid>https://dev.to/learner666/2210-55nh</guid>
      <description>&lt;p&gt;22/10&lt;br&gt;
TOP - Foundation: 91%&lt;br&gt;
Project: Etch-a-Sketch&lt;/p&gt;

&lt;p&gt;Done add opacity increasing for the sketch.&lt;br&gt;
I am a bit busy today so I didn't have much time to learn this morning.&lt;/p&gt;

&lt;p&gt;Well, at least I can finally say that I am done with Etch-a-Sketch. Both the basic and the extra credit 🤓 &lt;/p&gt;

&lt;p&gt;Tomorrow will be Object basics lesson&lt;/p&gt;

</description>
      <category>programming</category>
      <category>javascript</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
