There's now something new and that is the `v-if`. That is what we call a *directive* which is basically prefixed with `v-` so it is easier
to know that this came from Vue.
Here, we have set the condition for the header to show up only if `active` returns a boolean value of true, which is true.
Now let's open up the console and make the header not appear in our page. This is where we demonstrate the reactive side of Vue.
```javascript
app.active = false; // or app.active = !app.active;
```
Aaaand the header's gone.
We could add some interactivity in here (that does not involve the console), let's add a toggle button, the simplest of web interactivity 🙃.
With Vue, we could easily add a function to be tied into a component with the `v-on` directive with the event to be listened, in this case,
with a simple click.
```html
<divid="app">
<h1v-if="active">{{ text }}</h1>
<buttonv-on:click="toggle">Toggle</button>
</div>
```
Then, build the toggle function of the button. Take note that when we now refer to the functions in the Vue instance, it should be placed into
the `methods` object.
```html
<script>
const app = new Vue({
data: {
active: true,
text: "Hello world"
},
methods: {
toggle: function() {
this.active = !this.active;
}
}
})
</script>
```
And now we have created a functional toggle button that'll make the header show up or not.
You should visit the "Getting started" guide in the [official docs of Vue](https://vuejs.org/v2/guide/) since it is clearer and more
concise especially with its examples.
## What I've been reading
<!-- Books, articles, and other textual references -->
### [3 Actions You Can Take Right Now to Be More Organized from *LinkedIn Learning Blog*](https://learning.linkedin.com/blog/productivity-tips/3-actions-you-can-take-right-now-to-be-more-organized)
It's a simple article for giving tips on how to be more organized towards your work. Despite being a LinkedIn article which is mostly
targeted towards professionals at work, this is a helpful one for everyone who's looking for a way to make their workflow or homeflow a bit
better.
### [Arduino For Dummies](https://www.amazon.com/Arduino-Dummies-John-Nussey/dp/1118446372)
Another *For Dummies* series book, it is a good introductory series, after all. Anyway, after I found the subsequent lessons on electronics
a little bit too far for the scope I've been aiming for, I've decided to jump on something related which is Arduino. Sure enough, the series
also has a book on Arduino.
## What I've been listening to
<!-- Audiobooks, podcast episodes, videos and other auditory references -->
### [5 Questions: Bad at Math, Choosing Goals, and Relationship Productivity from *College Info Geek Podcast*](https://collegeinfogeek.com/reader-qa-23/)
I haven't listened to a whole lot of podcast this month so there's only one. It's another episode from College Info Geek podcast.
Self-explanatory and long title, at that. The part that I'm most interested in is the 'Bad in Math' and 'Choosing Goals' since I'm not
good in math and I tend to be in places when choosing a goal.
## What I've been watching to
### [Data Structures and Algorithms in JavaScript from *freeCodeCamp*](https://www.youtube.com/watch?v=t2CEgPsws3U)
It's a video from the freeCodeCamp channel that introduces you to the data structures and algorithms, using JavaScript as the instrument.
It is a long video, lasting from almost 2 hours. I applied the same strategy watching long videos: do it in sessions but make sure to
review the previously discussed matters at that point, no matter how well I understood it, I never know how well I understood it, anyway.
Thunderbird is *the* most solid option when choosing an email client in my opinion: solid extensions/add-ons, responsive receiving time,
and great app performance. Anyways, as you can tell, Thunderbird is one of the projects developed by Mozilla.
All in all, its reception got great and led to a solid foundation for open-sourced projects, being included as the default email client
in some operation systems (mainly Linux-based) but it was on hold from version 52. All of that was changed until the version 60 came out
in August 2018 and decided to skip versions 5x because it's a *real* comeback this time. With a new logo with the same style as Firefox
Quantum, the new version of Mozilla's web browser.
## What sites I've been visiting
### [All About Circuits](https://www.allaboutcircuits.com/)
This is a site that focuses on electronics where you can find an assortment of stuff from textbooks to video lectures. Those offer came from
the community which has a forum for discussing electronics-related: some basic electronics to embedded systems. I've been lurking to this
site only last week and I found a lot of useful stuff like with [this textual references covering the basics of electronics on a technical level](https://www.allaboutcircuits.com/textbook/).
### [Scott Young](https://www.scotthyoung.com/)
It's the site of Scott Young, a programmer and entrepreneur. His blog focuses on ways on how to be efficient on learning and be productive,
overall. Accumulating over 2000 articles, you'll have plenty of articles to search around. Young is also known to be an efficient learner,
starting the MIT challenge, a self-challenge that is basically leveling yourself up by modifying MIT's cirriculum on their 4-year computer
science course and learning it for a year. The challenge showcases and focuses on how you can learn a lot more efficient and does not
necessarily mean that you are an equivalent of a student of MIT.