<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by  Oyindamola Kushimo on Medium]]></title>
        <description><![CDATA[Stories by  Oyindamola Kushimo on Medium]]></description>
        <link>https://medium.com/@kushimo.oyindamola?source=rss-b9baed1d8202------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*zyv3lu3VWKKWH91c</url>
            <title>Stories by  Oyindamola Kushimo on Medium</title>
            <link>https://medium.com/@kushimo.oyindamola?source=rss-b9baed1d8202------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 00:49:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kushimo.oyindamola/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Building an Isolated Dual-VM Malware Analysis Sandbox: FLARE-VM & REMnux]]></title>
            <link>https://medium.com/@kushimo.oyindamola/building-an-isolated-dual-vm-malware-analysis-sandbox-flare-vm-remnux-dc3bc98848ca?source=rss-b9baed1d8202------2</link>
            <guid isPermaLink="false">https://medium.com/p/dc3bc98848ca</guid>
            <category><![CDATA[remnux]]></category>
            <category><![CDATA[flarevm]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[malware-analysis]]></category>
            <dc:creator><![CDATA[ Oyindamola Kushimo]]></dc:creator>
            <pubDate>Fri, 13 Nov 2026 09:56:12 GMT</pubDate>
            <atom:updated>2026-11-13T09:56:12.730Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wRqFjSHVWUwEEdWOvBvxJw.png" /></figure><p>Setting up a robust, isolated environment for malware analysis requires balancing system accessibility with absolute network containment. By pairing FLARE-VM — a heavily customized Windows environment — with REMnux, a lightweight Linux distribution packed with reverse-engineering tools, you create a controlled sandbox where malware can detonate safely.</p><p>In this walkthrough, I will detail the architectural setup of a dual-VM malware analysis lab using Mandiant’s FLARE-VM and the REMnux Linux toolkit. We will cover network isolation, configuring FLARE-VM to use REMnux as its primary DNS server, and verifying internet simulation using INetSim.</p><p><strong>The Importance of Host Isolation</strong></p><p>When analyzing active malware, detonation outside of a strictly controlled virtual machine is a catastrophic risk. Malware authors design payloads to communicate with external command-and-control (C2) servers, spread laterally across internal networks, and exfiltrate data.</p><p>To safely observe this behavior, we must sever the virtual machine’s connection to the physical network while still tricking the malware into believing it is online. We achieve this by placing both VMs on a completely isolated <strong>Host-Only Network</strong>. This creates a localized bubble — the malware can execute and broadcast its network requests, but those requests are trapped internally and never reach the actual internet.</p><p><strong>Phase 1: Deploying the Core Virtual Machines</strong></p><p>The architecture relies on two purpose-built environments running on Oracle VirtualBox:</p><p>1. <strong>FLARE-VM (The Victim):</strong> A Windows 11-based environment tailored by Mandiant. It contains a comprehensive suite of debuggers, disassemblers, and behavioral analysis tools. The installation scripts and documentation are available on the Mandiant FLARE-VM GitHub repository (<a href="https://github.com/mandiant/flare-vm">https://github.com/mandiant/flare-vm</a>).<br>2. <strong>REMnux (The Interceptor): </strong>A lightweight Ubuntu-based Linux distribution packed with reverse engineering and network forensics utilities. The virtual appliance can be downloaded directly from (<a href="https://remnux.org/">https://remnux.org/</a>).</p><p>Once both VMs are imported into VirtualBox, do not power them on until the network adapters are properly configured.</p><p><strong>Phase 2: Configuring the Isolated Network</strong></p><p>Rather than using Network Address Translation (NAT), which provides external internet access, we must route traffic through a dedicated VirtualBox Host-Only Adapter.</p><ol><li>Open VirtualBox Host Network Manager.<br>2. Select the dedicated adapter.<br>3. Ensure the DHCP server is enabled so both virtual machines receive local IP addresses automatically.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3ncxmYrIaQE1oC670Bw3gg.png" /><figcaption>virtualBox Host-Only Network Manager settings</figcaption></figure><p>Next, modify the network settings for both FLARE-VM and REMnux to use this exact adapter. (If you plan to capture packet traffic across the entire virtual switch using Wireshark later, set Promiscuous Mode to “Allow All VMs”).</p><p>To verify the isolation is successful, power on both VMs and attempt to ping an external address like Google’s public DNS (`8.8.8.8`). You should receive a “General failure” on Windows and a “Network is unreachable” error on Linux. This confirms your sandbox is successfully cut off from the outside world.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FwFwzbzKs7jSKHk87LQHDg.png" /><figcaption>Screenshot of failed pings to 8.8.8.8 from both terminal windows</figcaption></figure><p><strong>Phase 3: Setting Up a Fake Internet with INetSim</strong></p><p>Malware often stalls or refuses to execute its primary payload if it cannot reach its C2 server. To combat this, we utilize INetSim, a robust daemon built into REMnux that fakes standard internet services (HTTP, DNS, FTP, SMTP, etc.).</p><p>We must configure INetSim to intercept traffic originating from FLARE-VM.</p><p>1. On REMnux, open the configuration file with root privileges: `sudo nano /etc/inetsim/inetsim.conf`<br>2. Locate the DNS service section and activate it by removing the comment symbol (`#`).<br>3. Scroll down to the `service_bind_address` and set it to `0.0.0.0` so it binds to and listens on all network interfaces.<br>4. Set the `dns_default_ip` to the local IP address of your REMnux VM.<br>5. Save the file and exit Nano.</p><p><strong>Phase 4: Routing FLARE-VM DNS to REMnux</strong></p><p>With INetSim configured, we must force the Windows FLARE-VM to send all its network queries to REMnux instead of attempting to query a real router.</p><ol><li>Inside FLARE-VM, navigate to Control Panel &gt; Network and Sharing Center &gt; Change adapter settings.<br>2. Right-click the Ethernet adapter, open Properties, and double-click (TCP/IPv4).<br>3. Select Use the following DNS server addresses.<br>4. Set the Preferred DNS server to the IP address of your REMnux VM.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/757/1*8srASxlNuqBtTMfFs0bkmg.png" /></figure><p><strong>Phase 5: Verifying Web Interception</strong></p><p>With the routing established, it is time to launch the simulation and test the trap.</p><ol><li>In your REMnux terminal, execute sudo inetsim.<br>2. The terminal will initialize and display the active simulated services (such as `http_80_tcp`, `https_443_tcp`, and `smtp_25_tcp`), confirming that INetSim is listening on `0.0.0.0` and ready to intercept traffic.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ObiYzawiZu3f57ejG-j95w.png" /></figure><p>*[Insert Screenshot of the REMnux terminal displaying INetSim active services and the listening address here — reference: image_dffc3f.png]*</p><p>To finally verify the interception:</p><p>1. Open a web browser inside the FLARE-VM sandbox.<br>2. Navigate to any standard internet domain<br>3. Instead of a standard webpage or a “Not Found” error, you will be served the default INetSim HTML splash page, proving that REMnux successfully caught and answered the web request.</p><p>Your dual-VM malware analysis sandbox is now fully operational. Any malware detonated in FLARE-VM will communicate directly with REMnux, allowing you to safely capture, parse, and investigate the malicious network indicators in a strictly controlled environment.</p><p>Building a malware analysis lab from scratch is a rite of passage for any security analyst, and while the setup demands patience, the payoff is a professional-grade sandbox at your fingertips. By pairing the tailored Windows environment of FLARE-VM with the robust routing and analytical tools of REMnux, you have successfully built a digital blast chamber. You’ve wrestled with system permissions, bypassed native defenses, and established a secure, isolated network</p><h3>Resources and Links</h3><ul><li><strong>FLARE-VM GitHub Repository:</strong> <a href="https://github.com/mandiant/flare-vm">https://github.com/mandiant/flare-vm</a></li><li><strong>REMnux Official Website:</strong> <a href="https://remnux.org/">https://remnux.org/</a></li><li><strong>REMnux Official Documentation:</strong> <a href="https://docs.remnux.org/">https://docs.remnux.org/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dc3bc98848ca" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Advanced Dictionary with HTML, CSS, and javaScript]]></title>
            <link>https://medium.com/@kushimo.oyindamola/advanced-dictionary-with-html-css-and-javascript-21d00e8683e7?source=rss-b9baed1d8202------2</link>
            <guid isPermaLink="false">https://medium.com/p/21d00e8683e7</guid>
            <dc:creator><![CDATA[ Oyindamola Kushimo]]></dc:creator>
            <pubDate>Fri, 01 Mar 2024 17:13:27 GMT</pubDate>
            <atom:updated>2024-03-01T17:13:27.653Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bFwyK4fUYdyBdMbc_CvyjA.png" /></figure><p>Certainly! Here’s the corrected version:</p><p>Hi everyone, it’s Oyindamola here again! It’s been a while since I dropped an article here, so let me start by saying Happy New Year and Happy New Month to you all 😊.</p><p>Recently, I undertook a dictionary project using an API to fetch data that is displayed when a word is searched. The data returned includes the pronunciation sound of the word, phonetic spelling, meanings in both nouns and verbs (if available), and synonyms.</p><p>I began the project by constructing my HTML, assigning IDs and classes where necessary, which I’ll be utilizing in JavaScript and CSS styling.</p><p>Moving on to the logical part, which is JavaScript. The first step was to select all necessary DOM elements and implement validations to check if the input box is empty when the search button is clicked.</p><p>The first thing done is to grab all necessary DOM and check for validations to check if the input box is empty or not when the search button is clicked.</p><p>search.addEventListener(“click”, () =&gt; {</p><p>let input = searchInput.value;</p><p>if (!input) {</p><p>alert(“Input Required”);</p><p>} else {</p><p>// Continue with fetching API</p><blockquote>}</blockquote><blockquote>If the input box validation returns true, then we proceed with fetching data from the API. I used a JSON API: <a href="https://api.dictionaryapi.dev/api/v2/entries/en/">https://api.dictionaryapi.dev/api/v2/entries/en/</a>.</blockquote><p>I declared the API URL and connected the search input to find the entered word using:</p><p>let dict_url = `https://api.dictionaryapi.dev/api/v2/entries/en/${input}`;</p><p>I utilized async/await to fetch the result from the API.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WgquingPCK_qLBxwtIZ0IA.png" /></figure><p>Once the result is successfully fetched, we can use innerHTML and textContent to display the required information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zUsiZ9-nRODjDajjtPNi8w.png" /></figure><p>You can check the code <a href="https://github.com/oyindamolaWbCode/dictionaryAdv_">here</a></p><p>Until next time 😎</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=21d00e8683e7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fetching data of countries from REST API]]></title>
            <link>https://medium.com/@kushimo.oyindamola/fetching-data-of-countries-from-rest-api-943c51914ea3?source=rss-b9baed1d8202------2</link>
            <guid isPermaLink="false">https://medium.com/p/943c51914ea3</guid>
            <category><![CDATA[rest-api]]></category>
            <dc:creator><![CDATA[ Oyindamola Kushimo]]></dc:creator>
            <pubDate>Mon, 31 Jul 2023 12:12:45 GMT</pubDate>
            <atom:updated>2023-07-31T12:12:45.222Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5b9URi8HKSr9A9f-jvmxCQ.png" /></figure><p>Hi, It’s oyindamola here again 🥁</p><p>Recently, I got an assessment to work with HTML, CSS, and JavaScript by fetching data of countries from a RESTFUL API.</p><p>First, what is an API?</p><p>An API, or <em>application programming interface</em>, is a set of rules defining how applications or devices can connect and communicate with each other.</p><p>What is REST API?</p><p><strong>REST</strong> is an acronym for REpresentational State Transfer.</p><p>It is an architectural style that defines a set of constraints to be used for creating web services. <strong>REST API</strong> is a way of accessing web services simply and flexibly without any processing.</p><p>REST APIs are sometimes referred to RESTful APIs<em>.</em></p><h3>How REST APIs work</h3><p>REST APIs communicate via HTTP requests to perform standard database functions like creating, reading, updating, and deleting records (also known as CRUD) within a resource. A REST API would use a GET request to retrieve a record, a POST request to create one, a PUT request to update a record, and a DELETE request to delete one.</p><p>Diving straight into the project code, the first step is setting up my environment, and writing the HTML and CSS code.</p><p>The JavaScript; the API is called using the async and await functions to fetch the response. Using async/await makes it easier to write promises.</p><p>Having the URL where the data will be fetched from, it will be assigned to be called in the async/await function.</p><p><em>const rest_api = “ {the url}”</em></p><p><em>The async/await function follow suit:</em></p><p><em>async function getapi(url){</em></p><p><em>const response = await fetch(url);</em></p><p><em>let data = await response.json()</em></p><p><em>console.log(data);</em></p><p><em>if(response){</em></p><p><em>hideloader()</em></p><p><em>}</em></p><p><em>show(data);</em></p><p><em>}</em></p><p><em>getapi(restapi_url)</em></p><p>An await can’t work unless it is called with the async, they both work simultaneously.</p><p><em>show(data) is the function that displays the data you want to show in the browser.</em></p><p><em>function show(data){</em></p><p><em>let tab = ‘’;</em></p><p><em>for(const r of data){</em></p><p><em>tab += `</em></p><p><em>&lt;div class=”country-category”&gt;</em></p><p><em>&lt;a href=”country.html” class=”country-link” data-code=”${r.cca2}”&gt;</em></p><p><em>&lt;div class=”country-image”&gt;</em></p><p><em>&lt;img src=${r.flags.png}</em></p><p><em>width=”330&quot; height=”230&quot;/&gt;</em></p><p><em>&lt;/div&gt;</em></p><p><em>&lt;div class=”country-data”&gt;</em></p><p><em>&lt;h3&gt;${r.name.official}&lt;/h3&gt;</em></p><p><em>&lt;p&gt;&lt;b&gt;Population&lt;/b&gt;: ${r.population}&lt;/p&gt;</em></p><p><em>&lt;p&gt;&lt;b&gt;Region&lt;/b&gt;: ${r.region}&lt;/p&gt;</em></p><p><em>&lt;p&gt;&lt;b&gt;Capital&lt;/b&gt;: ${r.capital}&lt;/p&gt;</em></p><p><em>&lt;/div&gt;</em></p><p><em>&lt;/a&gt;</em></p><p><em>&lt;/div&gt;</em></p><p><em>`;</em></p><p><em>}</em></p><p><em>}</em></p><p>Check out my <a href="https://github.com/oyindamolaWbCode/Kodecamp-inter-test.git">github repo</a> for the code and hosting.</p><p>Until next time be safe 😊</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=943c51914ea3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Solving vercel deployment syntax error]]></title>
            <link>https://medium.com/@kushimo.oyindamola/solving-vercel-deployment-syntax-error-2bec0110967?source=rss-b9baed1d8202------2</link>
            <guid isPermaLink="false">https://medium.com/p/2bec0110967</guid>
            <dc:creator><![CDATA[ Oyindamola Kushimo]]></dc:creator>
            <pubDate>Tue, 28 Mar 2023 10:04:38 GMT</pubDate>
            <atom:updated>2023-04-05T19:38:08.524Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yid32vYJJWLezEbaJ4LrtA.png" /></figure><p>Hi… It’s oyindamola🥁 and you know whenever you see me here, it is all about gossip about what I have done, and what I am doing currently. But today, it is about debugging a certain bug that was acting funny while deploying to vercel.</p><p>After working on a particular react website, I decided to deploy to vercel but I came across an error after deploying showing a <strong>blank page😣</strong> and syntax errors in the console.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WyOrnRFmMmOK9nHJk_9bqQ.png" /></figure><p>So, looking at the it I was so lost on where to start from, but let me bring to your notice I already hosted on github-pages (also blank too) which already created a build in my vscode and added homepage to my package.json</p><p>The stuggle on debugging continues until I tried deleting the build file and also removing the homepage in my package.json and whaaaaala the page shows…</p><p>Until next time for another section of gossip, be safe.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2bec0110967" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Implementing an API fetch on my GitHub portfolio]]></title>
            <link>https://medium.com/@kushimo.oyindamola/implementing-an-api-fetch-on-my-github-portfolio-f1ad178e62d2?source=rss-b9baed1d8202------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1ad178e62d2</guid>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[react-paginate]]></category>
            <category><![CDATA[github-api]]></category>
            <category><![CDATA[seo]]></category>
            <dc:creator><![CDATA[ Oyindamola Kushimo]]></dc:creator>
            <pubDate>Sat, 07 Jan 2023 23:45:23 GMT</pubDate>
            <atom:updated>2023-01-07T23:45:23.553Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi… It’s Oyindamola again 🥁and you know anything you see me here it is surely for gossip about what I have been working on or what I have done.</p><p>Last November, As a student of <a href="http://altschoolafrica.com/">AltSchool Africa</a> school of engineering we were given some questions to solve, and we are meant to solve a question and implement some criteria too. And from the questions, I choose how to implement an API fetch on my GitHub portfolio.</p><p>Apart from fetching GitHub API, other things must be implemented in the project which are:</p><ol><li>Embed an error boundary</li><li>Implement proper SEO</li><li>404 page</li><li>Pagination</li><li>And also all necessary tools in React must be implemented.</li></ol><p>Well, as a newbie in React, it is a bit of a challenge on knowing how to structure and define what and how it should be used but there is google to solve your problems, different documentation, and also a whole lot of youtube videos to guide you.</p><p>Let’s dive right in…</p><p>In building a react page the first thing to be done after setting up your folder and is also open on Vscode( or any code editor of your choice). Open the terminal and paste the below one after the other to set up your react environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XSuqQdwAoaIwdXOxz7dytA.png" /></figure><p>But mine was ‘<em>npx create-react-app githubapi’</em> since I want the name of my folder to be descriptive, then next is installing react-router since i will be navigating in different pages. npm install react-router-dom@6</p><p>After installing the react-router i had to import it into any of the pages that will be making use of the router by importing ‘<em>import {Link, Route, Routes } from “react-router-dom”’ </em>into the right component that is needed to be imported.</p><p>Oh, before I forget<em> ‘import { BrowserRouter } from “react-router-dom”’</em> must be pasted in the index.js component and also embed &lt;BrowserRouter&gt; &lt;/BrowserRouter&gt; in the render root in the index.js.</p><p>And then I proceed to fetch my GitHub API using ‘https://api.github.com/user/{YOUR_GITHUB_USERNAME}&#39;</p><p>But with the use of useState and useEffect, I was able to display the list of repo in my GitHub account.</p><p>const url = “https://api.github.com/user/{YOUR_GITHUB_USERNAME}/repos/&quot;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aiYr7HC_pzXJ6tg_cGM0pA.png" /></figure><p>Then proceeded to store and use the data where needed using it as props. For the pagination, I install and import react-paginate into my page using npm install react-paginate --save, you can check more on <a href="https://www.npmjs.com/package/react-paginate">https://www.npmjs.com/package/react-paginate</a> for more details.</p><p>SEO Implementation was made by pasting npm install -save react-helmet into the terminal and the required importation was made in the App.js. check more at<a href="https://www.fullstacklabs.co/blog/improving-seo-in-react-apps-with-react-helmet"> https://www.fullstacklabs.co/blog/improving-seo-in-react-apps-with-react-helmet</a></p><p>Finally, the hosting was made with vercel, one of the issues I have while trying to host on vercel was that I was a member of a large open source on GitHub (CS50) which keeps interfering with my hosting which made the signing-in to continue iterating like forever until I deleted the repo and removed my account from there was when I was able to access the site.</p><p>Thank you for riding with me to the end, you can view the page on <a href="http://exam-github-fetch.vercel.app/">exam-github-fetch. vercel.app</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1ad178e62d2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Calculator with React…]]></title>
            <link>https://medium.com/@kushimo.oyindamola/building-calculator-with-react-2d7a492ce3ee?source=rss-b9baed1d8202------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d7a492ce3ee</guid>
            <dc:creator><![CDATA[ Oyindamola Kushimo]]></dc:creator>
            <pubDate>Mon, 10 Oct 2022 18:21:08 GMT</pubDate>
            <atom:updated>2022-10-10T18:21:08.544Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi… It’s me again Oyindamola😉, you know whenever you see me it is gossip o’clock about the projects I have been working on and also what I learned.</p><p>So during the week, was given the challenge to build a functional calculator using React, you know it is a combination of JavaScript too.</p><p>There are many knowledge and parts applied to building this project:</p><p>. JSX</p><p>.UseState()</p><p>.eval()</p><p>.onClick()</p><p>.slice()</p><p>.CSS…</p><p>As each is used in the context, it will be explained.</p><blockquote>Using create-react-app (calculator), the word in the bracket is the name of the project. The create-react-app (name of the project) set up your project’s environment with the folders, node modules, and JSON files needed for building a react project.</blockquote><p>The first approach was to create the skeletal representation of my calculator using JSX.</p><p><em>What is a JSX?</em></p><p>JSX stands for <strong>JavaScript XML</strong>. It is simply a syntax extension to JavaScript. It allows us to directly write HTML in React. The JSX makes it possible to write the skeletal representation of the calculator.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/543/1*k-hObZDCkeFq5iB0vI1UMQ.png" /></figure><p>A representation of the calculator UI</p><p>With the use of className, Id, Button, and headings the calculator is created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*FdC2JI7Vy-AMwPTdX76Pvw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/725/1*lYZ5QMLjDXIiX_zN5xfV8Q.png" /></figure><p>The “calculatorContent” is the div containing the body of our project. “calculatordisplay” is the division that will contain the output. “previousDisplay” is the division that will contain the result after computation. “numberDisplay” is the division that will contain the number or operators clicked to be displayed on the screen. The buttons contained each number and operator in a calculator.</p><p><em>Styling (CSS)</em></p><p>I used Cascading Stylesheet for styling the skeletal code in the react.</p><p>For the div containing the body “calculatorContent”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/895/1*PAMktkaKhmM6FMWgZUdYNw.png" /></figure><p>The content is centered which makes it responsive in all sizes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/805/1*7YhFNxUvGakcXsiPEu9abg.png" /></figure><p>The styling of how the output will be displayed, the result will be on top and the numbers or operators clicked will be underneath.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/838/1*lEOethvJGVNOKnEKCDjfzA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/803/1*CeAL-Tz6Dxbh2fH28LKS8Q.png" /></figure><p>The arrangement of the buttons and sizes styling.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BGop1Xo7Y88-tR3bgrB1fw.png" /></figure><p>Just adding some sauce to our button when hovered.</p><p><em>The Functionalities</em></p><p>Since useState will be used in our code, then it must be imported into the file that is needed.</p><p>write:</p><p>import { useState } from “react”</p><p><em>setState() </em><strong><em>allows you to change the state in a React class component</em></strong><em>. To change the state of a function component.</em></p><p>Declaring the useState to be used in the component.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dLWP97HWMR3t9AyPcD4GYw.png" /></figure><p>But first, it must be assigned to null since we are working towards creating value. “calc” — is the value to be assigned while “setCalc” — can be used to assign or change the state of calc. The same goes for “result” and “setResult”.</p><p>And the operators are displayed in an array [].</p><p>The next is to update writing the function for the onclick event and result output.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p2Ps81p42LFJVJIHxd75ow.png" /></figure><p>updateCalc function is to update the values and operators clicked and also prevention of two or more operators from clicking at a go without a number included, and with the conversion of the values to string using toString().</p><p>Passing onClick event to the buttons:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*J0YejXcbSO2XDoOvB3VSoQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*5XYEb8t1ftD_9kvfQncp0g.png" /></figure><p>Working on the equal and delete buttons:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A9srKUOTm3bfzYURCrH1qw.png" /></figure><p>total function — is the execution of the equal sign ( = ), ‘deleteButton’- remove the last value added with the use of slice(0, -1) and return the value remaining.</p><p><em>Clear button:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*trc8ktQ-gj2BFQkEkiPdVg.png" /></figure><p>The clearbutton function renders all values on the screen to null when clicked.</p><p>Wow… it’s all fun building this project with the help of consulting resources but it’s worth it though. Hope you had a soft and comforting ride from the beginning to the end.😊</p><p>Till next time for another gist… Have a lovely week.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d7a492ce3ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Interactive rating… again]]></title>
            <link>https://medium.com/@kushimo.oyindamola/interactive-rating-again-262a99abcbbf?source=rss-b9baed1d8202------2</link>
            <guid isPermaLink="false">https://medium.com/p/262a99abcbbf</guid>
            <dc:creator><![CDATA[ Oyindamola Kushimo]]></dc:creator>
            <pubDate>Mon, 26 Sep 2022 11:36:52 GMT</pubDate>
            <atom:updated>2022-09-26T11:36:52.659Z</atom:updated>
            <content:encoded><![CDATA[<p>Hiii… It’s me again, Oyindamola 😉</p><p>So I promised that I will be completing the interactive rating (which was my first post). So I will be giving you my code hints for solving this challenge.</p><p>I will continue from where I stopped which was the HTML, to continue with the styling ( i used CSS) and the interactiveness with JavaScript.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*T9wnwdyfjUe9gULl0WuTUw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*z60VJdK9aZ9AFHIs01A94Q.jpeg" /></figure><p>Hope you’ve not forgotten the above diagram is what we are working towards achieving. If you missed HTML you refer to my other post.</p><p>So let’s start the digging 😉</p><p>For the styling, I used CSS also known as Cascading Style Sheets. This is what gives your webpage the beauty and the outer eye-feeding food 😁. So in the process of styling this project I used external styling, there are different ways you can infuse CSS in your webpage.</p><p>To use external CSS in a webpage, make sure you linked it in your HTML head tag else you end up having trouble looking for a bug that was not supposed to be there (headache 😒).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/938/1*KPQQcm-0kZPbEzDOaAM1Rg.png" /></figure><p>The above is an example of linking an external CSS folder in your HTML head tag.</p><p>Let’s continue to the business we have at hand.</p><p>About the images above, what we are working on is actually at the center of the webpage, we should code it to the center.</p><p>Trying to have our output at the center, and centralizing it at the body tag makes it so easy for us.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/901/1*9yGsbYWevpi5Telh_P_qgw.png" /></figure><p>Note, I added the background color to the body too.</p><p>The next is styling the way the header and the paragraph should be ( note I styled the first page and the thank you page separately to avoid confusion. So the styling I am working on now is the first page with buttons).</p><p>It was said that giving naming a component, class or Id is a different kind of work on its own, so please bare with me with my namings😂</p><p>For a better understanding of my namings, I will show where I used it in the HTML and then show the way it was styled in CSS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*Bk8X_k9dlJkwWOA-97pE9g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*bM5c-e_nlHRlGz8ulT_9Ow.png" /></figure><p>The #space-container is the container containing every element in the page with a height, and width and also centralize with a margin.</p><p>The next is how the rating button was styled, well I did not use a button else I used a height, width, and a border-radius 😉</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*TLlca8pTMdrTt7HnoUh1nA.png" /></figure><p>This is the beginning of how I went creating the buttons for my ratings using an id and class to make it happen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/935/1*53AEVpV2vdSd_KdksGSvAA.png" /></figure><p>How I made my circle circular is giving it a width of 50px, a height of 50px then a border radius of 70% and that was all I did to make it circular.</p><p><em>The submit button styling:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/916/1*IGvv_gQZ-c5lD5zFudmroA.png" /></figure><p>Quickly to the thank you page styling. The main reason I styled the pages separately is because of their positioning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/859/1*kDD9m9iMg-ElV90YsHDPrw.png" /></figure><p>A representation of the Thank you code, the span id=” rating” is where the rating number that was clicked on the first page will be shown.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/1*sykLj7PNI7vyHHJafd-HZg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*HVx58H_4c2cCu_73CcK6nA.png" /></figure><p><em>The stylings</em></p><p>Now to the javaScript🕺💃</p><p>Before starting anything in my JavaScript, I collected my dom(s) (Document Object Model), they are my ids, classNames, tagNames, nodes, or parents whatever you can use to identify your HTML in JavaScript.</p><p>So I will be listing out my dom(s).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JWuzrClKe-n_f4oe9quM_A.png" /></figure><p>Remember our rating button page and thank you page is on the same page, so we have to hide one when the other is showing on the page and vice versa, so if our rating button page is on the thank you page must be hidden and we can do that with the help of our JavaScript too.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JvLC1oyGFDqPolSyPbyNrA.png" /></figure><p>The next is the looping over each of the buttons when clicked and unclicked or selected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T0hgEI8ldcvWQn0Z4ru9zg.png" /></figure><p>Using a for… loop, it is very easy to go through each of the rating buttons one after the other. There is an event listener when a rate button is clicked and unclicked</p><p>And the last part.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ifRoSO-o0h0R_cgCa2RZXQ.png" /></figure><p>After a button has been clicked with the submit button, an event listener will display the particular rating page now and the thank you page will be displayed.</p><p>And that is the end of our rating button component 😊</p><p>We see again another time for any gist on my coding journey.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/256/1*bpQlgu1mbQcmYIU60HZmDQ.gif" /></figure><p>Have a beautiful week 😊…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=262a99abcbbf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Let’s have some reaction on ‘props’]]></title>
            <link>https://medium.com/@kushimo.oyindamola/lets-have-some-reaction-on-props-fc30a2c258b8?source=rss-b9baed1d8202------2</link>
            <guid isPermaLink="false">https://medium.com/p/fc30a2c258b8</guid>
            <dc:creator><![CDATA[ Oyindamola Kushimo]]></dc:creator>
            <pubDate>Tue, 13 Sep 2022 01:33:17 GMT</pubDate>
            <atom:updated>2023-03-28T21:48:27.256Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi !!! It’s me again Oyindamola, I know I still have a pending CSS article but let me give you a gist of what I learned about props 😉</p><p>I promise it’s not going to be a very longgg article but short and beautiful.</p><blockquote>Firstly, <em>What are props?</em></blockquote><p><em>What are they used for?</em></p><p><em>In what scenario can you use props?</em></p><p>Well, let’s just dive right in 😊</p><h4><strong>What are React props?</strong></h4><p>When you hear the word “props” it just simply means properties ( you are wowed or not satisfied 🤨) of an object, okay more digging to do…</p><p>‘Prop is the way of passing data from one component into another component.</p><p>It is the way you get to know the properties of data with the help of your inspect</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iRPKsGsdJlwTNZXirR-Sdw.png" /></figure><h4>What are they used for?</h4><p>Props are arguments or properties passed into a React component.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y_ATYQHCrO-lRpDXmuhQ3g.png" /></figure><p>The code shows a component that accepts props as an argument, inside is an h1 tag. Within that h1 tag is a single props object called name, but the name prop has not been defined yet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nSnGbAuSTZZznvYe7sFCig.png" /></figure><p>The props that was not defined above is now allocated with the properties. the attribute within it is the name prop and its value we are passing into the component.</p><p>And that is my gist on props 😁… See you next time for another gist.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc30a2c258b8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Interactive rating component]]></title>
            <link>https://medium.com/@kushimo.oyindamola/interactive-rating-component-571a1d393802?source=rss-b9baed1d8202------2</link>
            <guid isPermaLink="false">https://medium.com/p/571a1d393802</guid>
            <category><![CDATA[html]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[journey]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[css]]></category>
            <dc:creator><![CDATA[ Oyindamola Kushimo]]></dc:creator>
            <pubDate>Tue, 06 Sep 2022 17:16:00 GMT</pubDate>
            <atom:updated>2022-09-06T17:16:00.126Z</atom:updated>
            <content:encoded><![CDATA[<p>As a beginner in the front-end world, There is this imposter syndrome that you have whenever you want to share your work but I decided to not give it a chance anymore in my journey of being a world-class software developer. So I will be showcasing my might-building projects as little as so far is helping me grow 😊.</p><p>So I will be sharing how I built an interactive rating board, just like the kind we get when we visit a website and are asked to give feedback… Yes like that (you get it👌)</p><p>To start with I build my interactive rating with HTML, CSS, and javascript.</p><p>(ps: I do get most of my attempted projects from FrontendMentor.io, you can check them out too).</p><p><em>This should be our result:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tzhaHutP8PGrRpMRhPRh2w.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kSky8_pTtzwnYbPXh49Djg.jpeg" /><figcaption>from frontenmentor</figcaption></figure><p>L<em>et’s start with our HTML:</em></p><p>The way we do it 😉, we fix our statement accordingly &lt;div&gt;, &lt;p&gt;, &lt;h1 -h6&gt;, I will try and explain more on those in the anchor tag &lt;&gt;in my coming writings.</p><p>&lt;div id=”space-container”&gt;</p><p>&lt;div class=”the-contain”&gt;</p><p>&lt;h2&gt;How did we do?&lt;/h2&gt;</p><p>&lt;p&gt;Please let us know how we did with your support request. All feedback is appreciated</p><p>to help us improve our offering!&lt;/p&gt;</p><p>&lt;div class=”flex-rating”&gt;</p><p>&lt;div class=”rating-1&quot;&gt;</p><p>&lt;h4 id=”rate”&gt;1&lt;/h4&gt;</p><p>&lt;/div&gt;</p><p>&lt;div class=”rating-1&quot;&gt;</p><p>&lt;h4 id=”rate1&quot;&gt;2&lt;/h4&gt;</p><p>&lt;/div&gt;</p><p>&lt;div class=”rating-1&quot;&gt;</p><p>&lt;h4 id=”rate2&quot;&gt;3&lt;/h4&gt;</p><p>&lt;/div&gt;</p><p>&lt;div class=”rating-1&quot;&gt;</p><p>&lt;h4 id=”rate3&quot;&gt;4&lt;/h4&gt;</p><p>&lt;/div&gt;</p><p>&lt;div class=”rating-1&quot;&gt;</p><p>&lt;h4 id=”rate4&quot;&gt;5&lt;/h4&gt;</p><p>&lt;/div&gt;</p><p>&lt;/div&gt;</p><p>&lt;button id=”submit”&gt;Submit&lt;/button&gt;</p><p>&lt;/div&gt;</p><p>The above code represents the skeletal view of the first frame image shown above without the styling.</p><p>And the code below represents the thank You page skeletal form without styling</p><p>&lt;div class=”thankyoun”&gt;</p><p>&lt;img src=”./images/illustration-thank-you.svg” alt=”” &gt;</p><p>&lt;div class=”decorated-para”&gt;</p><p>&lt;span id=”its-styling”&gt;You selected &lt;span id=”rating”&gt;&lt;/span&gt; out of 5&lt;/span&gt;</p><p>&lt;/div&gt;</p><p>&lt;h4 id=”h4-style”&gt;Thank you!&lt;/h4&gt;</p><p>&lt;p id=”para-style” style=”padding:0;”&gt;We appreciate you taking the time to give a rating. If you ever need more support,</p><p>don’t hesitate to get in touch!</p><p>&lt;/p&gt;</p><p>&lt;/div&gt;</p><p>&lt;/div&gt;</p><p>So that is all about the HTML part of the interactive rating and thank you page.</p><p>In my next post, I will be talking about the styling part which is the CSS.</p><p>You can check the code on my <a href="https://github.com/oyindamolaWbCode/interactive_rating-">GitHub</a> .</p><p>Until next time 😉.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=571a1d393802" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>