<?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>Forem: Rostyslav Harasymiak</title>
    <description>The latest articles on Forem by Rostyslav Harasymiak (@onebucks).</description>
    <link>https://forem.com/onebucks</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3647519%2F5bc9dc50-6a61-4f1e-8d21-3c9f3fba74aa.jpeg</url>
      <title>Forem: Rostyslav Harasymiak</title>
      <link>https://forem.com/onebucks</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/onebucks"/>
    <language>en</language>
    <item>
      <title>Useful shortcuts</title>
      <dc:creator>Rostyslav Harasymiak</dc:creator>
      <pubDate>Sat, 27 Dec 2025 09:34:13 +0000</pubDate>
      <link>https://forem.com/onebucks/useful-shortcuts-bib</link>
      <guid>https://forem.com/onebucks/useful-shortcuts-bib</guid>
      <description>&lt;p&gt;Ctrl + TAB ; Ctrl+Shift+TAB -&amp;gt; move right or left between your tabs in browser.&lt;br&gt;
Alt + TAB -&amp;gt; move between your windows in Windows.&lt;br&gt;
Ctrl + Shift + R -&amp;gt; hard reload in browser.&lt;br&gt;
Ctrl + P -&amp;gt; opens quick open file feature in VSCode.&lt;br&gt;
Ctrl + Shift + P -&amp;gt; opens the Command Palette in VSCode.&lt;br&gt;
Ctrl + / -&amp;gt; comments or uncomments a line in code VSCode.&lt;br&gt;
Alt + down -&amp;gt; mover current line down in VSCode.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Today I'm starting my little web site project called: "7 Wonders of the World"</title>
      <dc:creator>Rostyslav Harasymiak</dc:creator>
      <pubDate>Mon, 08 Dec 2025 05:25:12 +0000</pubDate>
      <link>https://forem.com/onebucks/today-im-starting-my-little-web-site-project-called-7-wonders-of-the-world-4cob</link>
      <guid>https://forem.com/onebucks/today-im-starting-my-little-web-site-project-called-7-wonders-of-the-world-4cob</guid>
      <description>&lt;p&gt;Creating project in VS code, making small first steps like main elements head and body.&lt;br&gt;
Honestly it was super easy VS code just autofilled everything for me it's crazy...&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Using Git version control: commit and push</title>
      <dc:creator>Rostyslav Harasymiak</dc:creator>
      <pubDate>Sun, 07 Dec 2025 05:01:22 +0000</pubDate>
      <link>https://forem.com/onebucks/using-git-version-control-commit-and-push-773</link>
      <guid>https://forem.com/onebucks/using-git-version-control-commit-and-push-773</guid>
      <description>&lt;p&gt;There are quite a few Git operations we can do, but we want to focus on the two most important: commit your changes, and switch to a new branch. When you hear the word “commit”, think “snapshot”. When you hear the word “branch”, think “version”.&lt;br&gt;
A Git commit is a snapshot of all of the folders and files in your project at a particular time. Since our files of code are all interdependent, it doesn’t make sense to save versions of individual files — we need to know the entire state of the project for a version to be useful.&lt;br&gt;
Each branch (“version”) is a series of commits (“snapshots”).&lt;/p&gt;

&lt;p&gt;Branching and Merging&lt;/p&gt;

&lt;p&gt;Do you ever wish you could work on a completely separate version of your project in parallel to the current version? Perhaps to test an approach, or work on a new feature? And you want the option to eventually combine that code into your main project codebase?&lt;/p&gt;

&lt;p&gt;Well, have a look at our documentation on &lt;a href="https://firstdraft.com/lessons/54-git-branch-and-merge" rel="noopener noreferrer"&gt;branching and merging in VSCode with GitLens!&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Boost Your Workflow: VS Code &amp; Terminal Essentials</title>
      <dc:creator>Rostyslav Harasymiak</dc:creator>
      <pubDate>Sun, 07 Dec 2025 04:34:07 +0000</pubDate>
      <link>https://forem.com/onebucks/boost-your-workflow-vs-code-terminal-essentials-42a5</link>
      <guid>https://forem.com/onebucks/boost-your-workflow-vs-code-terminal-essentials-42a5</guid>
      <description>&lt;p&gt;&lt;strong&gt;Reopen a pane&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Sometimes you might accidentally close out of the explorer (left pane) or terminal (bottom pane).&lt;/p&gt;

&lt;p&gt;To reopen them, there are keyboard shortcuts to close and reopen:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Ctrl (Windows) or Cmd (Mac) + B for left pane,&lt;br&gt;&lt;br&gt;
Ctrl (Windows) or Cmd (Mac) + J for bottom pane.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;But, you can always click on the top left hamburger menu to bring up the VSCode options and visit “View” to reopen&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Clear terminal&lt;/strong&gt;&lt;br&gt;
Mac OS: &lt;code&gt;⌘ + K&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Windows: &lt;code&gt;Ctrl + K&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Interrupt program&lt;/strong&gt;&lt;br&gt;
If something goes wrong with a terminal program (i.e. you made a typo, a program gets stuck in an infinite loop, etc), you can generally interrupt it with:&lt;br&gt;
&lt;code&gt;Ctrl + C&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Q to exit&lt;/strong&gt;&lt;br&gt;
When the output of a terminal command is too tall for a terminal tab to display at once, it paginates. Press Space to step through it one page at a time, or &lt;code&gt;Q&lt;/code&gt; to quit and get back to the terminal prompt so that you can execute your next command.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Command Palette&lt;/strong&gt;&lt;br&gt;
The most important thing to memorize is how to open the Command Palette, which will allow you to fuzzy search within for all other commands. If the command has a keyboard shortcut mapped to it, the shortcut will be displayed to the right. This is the best way to learn the keyboard shortcuts for the commands that you use most frequently.&lt;/p&gt;

&lt;p&gt;Mac OS: &lt;code&gt;⌘ + Shift + P&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Windows: &lt;code&gt;Ctrl + Shift + P&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Quick open file&lt;/strong&gt;&lt;br&gt;
To quickly jump to a file:&lt;br&gt;
Mac OS: &lt;code&gt;⌘ + P&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Windows: &lt;code&gt;Ctrl + P&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;And then fuzzily search for its name. For example, you could type “phco” to get to photos_controller.rb and the list would quickly narrow to bring that file to the top of the list.&lt;/p&gt;

&lt;p&gt;What does the rails console command do?&lt;br&gt;
Opens an interactive Ruby environment with your Rails application's context loaded&lt;/p&gt;

&lt;p&gt;Why would you use the reload! command in Rails console?&lt;br&gt;
To reload the application's code without exiting the console&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Today I learn HTML &amp; CSS fundamentals</title>
      <dc:creator>Rostyslav Harasymiak</dc:creator>
      <pubDate>Sun, 07 Dec 2025 03:21:05 +0000</pubDate>
      <link>https://forem.com/onebucks/today-i-learn-html-css-fundamentals-3jco</link>
      <guid>https://forem.com/onebucks/today-i-learn-html-css-fundamentals-3jco</guid>
      <description>&lt;p&gt;*&lt;em&gt;HTML *&lt;/em&gt;- hyper text markup language&lt;br&gt;
&lt;code&gt;&amp;lt;a href="https://www.wikipedia.org/"target="_blank"&amp;gt;Wikipedia&amp;lt;/a&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a&gt; - opening tag&lt;/a&gt;&lt;/li&gt;
&lt;li&gt; - closing tag&lt;/li&gt;
&lt;li&gt;Everything between the opening tag and closing tag is called the content.&lt;/li&gt;
&lt;li&gt;Within the opening tag (but never the closing tag), there might be attributes.

&lt;ul&gt;
&lt;li&gt;Each attribute comprises a name, then a =, then a value.&lt;/li&gt;
&lt;li&gt;Values should always be within a pair of quotes (" ").
--------------------Collectively, all of that is called one element.--------------------------------&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Layout systems&lt;/p&gt;

&lt;p&gt;To position content wherever we wish, we need to choose one of the many layout systems that HTML provides:&lt;br&gt;
-Flow&lt;br&gt;
-Flexbox&lt;br&gt;
-Positioned, Grid, and a few others;&lt;/p&gt;

&lt;p&gt;IN Flow:&lt;br&gt;
Words, images, and other inline items are placed side by side horizontally.&lt;br&gt;
Paragraphs, headings, and other blocks are placed above and below one another vertically.&lt;br&gt;
How can we make an element act as a block instead of inline? With the display: block CSS declaration.&lt;br&gt;
&lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt; - We’re going to need a lot of block level elements. It would be a pain to have to add style="display: block" to &lt;span&gt;s over and over and over every time we wanted a block element, so HTML provides a shortcut — the  element: A  is just a &lt;span&gt; with display: block already set.&lt;br&gt;
&lt;code&gt;The box model&lt;/code&gt;&lt;br&gt;
For elements that are &lt;code&gt;display: block&lt;/code&gt;, we can set a few useful properties:

&lt;p&gt;&lt;code&gt;width:&lt;/code&gt; How much space we want the content of the element to take up.&lt;br&gt;
&lt;code&gt;padding:&lt;/code&gt; How much space we want outside the content of the element, but inside the border.&lt;br&gt;
&lt;code&gt;border:&lt;/code&gt; How much space we want the border to take up.&lt;br&gt;&lt;br&gt;
&lt;code&gt;margin:&lt;/code&gt; How much space we want outside the border of the element (between it and its neighbors).&lt;/p&gt;

&lt;p&gt;CSS style rules&lt;br&gt;
CSS provides a better way: style rules. First, we need a  element in our document. Then, within that element, we can write style rules.&amp;lt;br&amp;gt;
    Syntax:&amp;lt;br&amp;gt;
&amp;lt;code&amp;gt;selector{declaration block}&amp;lt;/code&amp;gt;  - all together style rule.&amp;lt;br&amp;gt;
example: &amp;lt;br&amp;gt;
div {&amp;lt;br&amp;gt;
  width: 200px;&amp;lt;br&amp;gt;
  padding: 20px;&amp;lt;br&amp;gt;
  border: solid red 5px;&amp;lt;br&amp;gt;
  margin: 30px;&amp;lt;br&amp;gt;
}&amp;lt;br&amp;gt;
CSS selectors&amp;lt;br&amp;gt;
The two main types of selectors we’re going to focus on for now are tag-type selectors and class-level selectors.&amp;lt;br&amp;gt;
what if we wanted to make text in the second div red, but leave the first div alone?&amp;lt;br&amp;gt;
div is a tag-type selector, which means that if we add color: red to the declaration block, it will apply to all &amp;lt;div&amp;gt; elements in the document&amp;lt;br&amp;gt;
We could achieve the more precise targeting we want by dropping back down to an inline style=&amp;amp;quot;&amp;amp;quot; attribute, this does what we want, but we’ve lost the nice ability to affect hundreds or thousands of elements at once with a style rule.&amp;lt;br&amp;gt;
What’s the solution? A class-level selector:&amp;lt;br&amp;gt;
add to element attribute &amp;lt;code&amp;gt;class=name&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;
Notice there’s no . when applying a class, only when writing the selector.&amp;lt;/p&amp;gt;

&amp;lt;p&amp;gt;Flexbox layout&amp;lt;br&amp;gt;
The three inner divs have the class child, so they have a border, etc. They are still vertically stacked on top of each other even though they are narrow, because they are blocks and the parent element uses flow to lay them out.&amp;lt;br&amp;gt;
Example:&amp;lt;br&amp;gt;
`&amp;lt;style&amp;gt;&amp;lt;br&amp;gt;
  .parent {&amp;lt;br&amp;gt;
    border: dotted blue 1px;&amp;lt;br&amp;gt;
  }&amp;lt;/p&amp;gt;

&amp;lt;p&amp;gt;.child {&amp;lt;br&amp;gt;
    width: 50px;&amp;lt;br&amp;gt;
    padding: 20px;&amp;lt;br&amp;gt;
    border: solid red 5px;&amp;lt;br&amp;gt;
  }&amp;lt;br&amp;gt;
&lt;/p&gt;

&lt;p&gt;A&lt;/p&gt;

&lt;p&gt;B&lt;/p&gt;

&lt;p&gt;C&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;br&gt;
If we want to change the parent’s layout mode to flexbox, we use the display: flex property&lt;br&gt;
Example:&lt;br&gt;
&lt;/code&gt;&amp;lt;br&amp;gt;
  .parent {&amp;lt;br&amp;gt;
    border: dotted blue 1px;&amp;lt;/p&amp;gt;
&amp;lt;div class="highlight"&amp;gt;&amp;lt;pre class="highlight plaintext"&amp;gt;&amp;lt;code&amp;gt;display: flex;
&amp;lt;/code&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;p&amp;gt;}&amp;lt;/p&amp;gt;

&amp;lt;p&amp;gt;.child {&amp;lt;br&amp;gt;
    width: 50px;&amp;lt;br&amp;gt;
    padding: 20px;&amp;lt;br&amp;gt;
    border: solid red 5px;&amp;lt;br&amp;gt;
  }&amp;lt;br&amp;gt;
&lt;/p&gt;

&lt;p&gt;A&lt;/p&gt;

&lt;p&gt;B&lt;/p&gt;

&lt;p&gt;C&lt;/p&gt;

&lt;p&gt;`&lt;br&gt;
Boom! All of a sudden, within the parent element, we’re in a whole new world. Within an element that is display: flex, “block” and “inline” don’t really mean anything anymore. Those terms are relevant for typesetting, but flexbox is for more dynamic, responsive, app-type layouts.&lt;br&gt;
Importantly, display: flex only affects how immediate children (nested only up to one level) are positioned within the parent element. The position of the parent element itself, and anything outside the parent element, is unaffected by setting display: flex on the parent element.&lt;/p&gt;

&lt;p&gt;By default, flex-direction is row (horizontal). You can also set flex-direction to be column, in which case children will be laid out vertically (similar to block layout). We mostly use flexbox layout when we want to break out of flow layout to achieve horizontal positioning, so for now we’ll focus on row, but we’ll use both directions eventually.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;justify-content and align-items&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Now that the children elements are being laid out with flexbox, we have a few new properties available to us on the parent. Most importantly: justify-content and align-items.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;justify-content&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;When flex-direction is row, the justify-content property determines how any leftover horizontal space within the parent is used. There are five values we can set:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fatigntcgih7pxaphftg5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fatigntcgih7pxaphftg5.png" alt=" " width="685" height="748"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;align-items&lt;/code&gt;&lt;br&gt;
When flex-direction is column, the align-items property determines how children are placed vertically within the parent. There are five values we can set:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F25pk06ag2ko71hffitqm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F25pk06ag2ko71hffitqm.png" alt=" " width="516" height="730"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;stretch: Make children as tall as the parent, so that there is no leftover vertical space. (This is the default value.)&lt;br&gt;
  center: Place children in the middle of the parent and split any leftover space evenly across the top and bottom.&lt;br&gt;
  flex-start: Place the children at the top of the parent and any leftover space on the bottom.&lt;br&gt;
flex-end: Place the children at the bottom of the parent and any leftover space on the top.&lt;br&gt;
  baseline: Place the children such that the bottom of the text within them is lined up along the center of the parent, regardless of their font-size. Useful for things like navbars.&lt;/p&gt;

&lt;p&gt; &lt;br&gt;
Flexbox Froggy&lt;br&gt;
That’s all you need to know about flexbox for the moment, but if and when you run into a situation where you want to know how to do more, here is an interactive game you can play through to become a flexbox expert:&lt;br&gt;
Flexbox Froggy&lt;br&gt;
You don’t have to play through it right now, but keep it in mind.&lt;/p&gt;

&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

</description>
      <category>html</category>
      <category>beginners</category>
      <category>learning</category>
      <category>css</category>
    </item>
  </channel>
</rss>
