<?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: Mohammad Adil Rasheed</title>
    <description>The latest articles on Forem by Mohammad Adil Rasheed (@adilrasheed).</description>
    <link>https://forem.com/adilrasheed</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%2F1399482%2F0dcfa284-9fb5-489e-bb56-1e00b4697b38.png</url>
      <title>Forem: Mohammad Adil Rasheed</title>
      <link>https://forem.com/adilrasheed</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/adilrasheed"/>
    <language>en</language>
    <item>
      <title>Github cheetsheet for beginners</title>
      <dc:creator>Mohammad Adil Rasheed</dc:creator>
      <pubDate>Wed, 03 Apr 2024 21:31:21 +0000</pubDate>
      <link>https://forem.com/adilrasheed/github-cheetsheet-for-beginners-35kf</link>
      <guid>https://forem.com/adilrasheed/github-cheetsheet-for-beginners-35kf</guid>
      <description>&lt;p&gt;Git Cheat Sheet&lt;br&gt;
GitHub for Windows&lt;br&gt;
&lt;a href="https://windows.github.com" rel="noopener noreferrer"&gt;https://windows.github.com&lt;/a&gt;&lt;br&gt;
GitHub for Mac&lt;br&gt;
&lt;a href="https://mac.github.com" rel="noopener noreferrer"&gt;https://mac.github.com&lt;/a&gt;&lt;br&gt;
Git for All Platforms&lt;br&gt;
&lt;a href="http://git-scm.com" rel="noopener noreferrer"&gt;http://git-scm.com&lt;/a&gt;&lt;br&gt;
Git distributions for Linux and POSIX systems are available on&lt;br&gt;
the official Git SCM web site.&lt;br&gt;
Install&lt;br&gt;
Configure tooling&lt;br&gt;
Configure user information for all local repositories&lt;br&gt;
$ git config --global color.ui auto&lt;br&gt;
Enables helpful colorization of command line output&lt;br&gt;
$ git config --global user.email "[email address]"&lt;br&gt;
Sets the email you want attached to your commit transactions&lt;br&gt;
$ git config --global user.name "[name]"&lt;br&gt;
Sets the name you want attached to your commit transactions&lt;br&gt;
$ git clone [url]&lt;br&gt;
Clone (download) a repository that already exists on&lt;br&gt;
GitHub, including all of the files, branches, and commits&lt;br&gt;
Create repositories&lt;br&gt;
When starting out with a new repository, you only need to do it&lt;br&gt;
once; either locally, then push to GitHub, or by cloning an&lt;br&gt;
existing repository.&lt;br&gt;
$ git init&lt;br&gt;
Turn an existing directory into a git repository&lt;br&gt;
$ git pull&lt;br&gt;
Updates your current local working branch with all new&lt;br&gt;
commits from the corresponding remote branch on GitHub.&lt;br&gt;
 git pull is a combination of git fetch and git merge&lt;br&gt;
Synchronize changes&lt;br&gt;
Synchronize your local repository with the remote repository&lt;br&gt;
on GitHub.com&lt;br&gt;
$ git push&lt;br&gt;
Uploads all local branch commits to GitHub&lt;br&gt;
$ git merge&lt;br&gt;
Combines remote tracking branch into current local branch&lt;br&gt;
$ git fetch&lt;br&gt;
Downloads all history from the remote tracking branches&lt;br&gt;
$ git branch -d [branch-name]&lt;br&gt;
Deletes the specified branch&lt;br&gt;
$ git merge [branch]&lt;br&gt;
Combines the specified branch’s history into the&lt;br&gt;
current branch. This is usually done in pull requests,&lt;br&gt;
but is an important Git operation.&lt;br&gt;
$ git checkout [branch-name]&lt;br&gt;
Switches to the specified branch and updates the&lt;br&gt;
working directory&lt;br&gt;
Branches&lt;br&gt;
Branches are an important part of working with Git. Any&lt;br&gt;
commits you make will be made on the branch you're currently&lt;br&gt;
“checked out” to. Use git status to see which branch that is.&lt;br&gt;
$ git branch [branch-name]&lt;br&gt;
Creates a new branch&lt;br&gt;
The .gitignore file&lt;br&gt;
Sometimes it may be a good idea to exclude files from being&lt;br&gt;
tracked with Git. This is typically done in a special file named&lt;br&gt;
 .gitignore . You can find helpful templates for .gitignore&lt;br&gt;
files at github.com/github/gitignore.&lt;br&gt;
Git is the open source distributed version control system that facilitates GitHub activities on&lt;br&gt;
your laptop or desktop. This cheat sheet summarizes commonly used Git command line&lt;br&gt;
instructions for quick reference.&lt;br&gt;
&lt;a href="mailto:services@github.com"&gt;services@github.com&lt;/a&gt;&lt;br&gt;
services.github.com&lt;br&gt;
Want to learn more about using GitHub and Git?&lt;br&gt;
Email the Training Team or visit our web site for learning&lt;br&gt;
event schedules and private class availability.&lt;br&gt;
Training&lt;br&gt;
git: an open source, distributed version-control system&lt;br&gt;
GitHub: a platform for hosting and collaborating on Git repositories&lt;br&gt;
commit: a Git object, a snapshot of your entire repository compressed into a SHA&lt;br&gt;
branch: a lightweight movable pointer to a commit&lt;br&gt;
clone: a local version of a repository, including all commits and branches&lt;br&gt;
remote: a common repository on GitHub that all team member use to exchange their changes&lt;br&gt;
fork: a copy of a repository on GitHub owned by a different user&lt;br&gt;
pull request: a place to compare and discuss the differences introduced on a branch with reviews, comments, integrated&lt;br&gt;
tests, and more&lt;br&gt;
HEAD: representing your current working directory, the HEAD pointer can be moved to different branches, tags, or commits&lt;br&gt;
when using git checkout&lt;br&gt;
Glossary&lt;br&gt;
‘master’ branch&lt;br&gt;
Commit changes Submit Pull Request Discuss proposed changes&lt;br&gt;
 and make more commits&lt;br&gt;
Create ‘feature’ branch from ‘master’ Merge ‘feature’ branch into ‘master’&lt;br&gt;
GitHub Flow&lt;br&gt;
$ git commit -m "[descriptive message]"&lt;br&gt;
Records file snapshots permanently in version history&lt;br&gt;
$ git add [file]&lt;br&gt;
Snapshots the file in preparation for versioning&lt;br&gt;
$ git show [commit]&lt;br&gt;
Outputs metadata and content changes of the specified commit&lt;br&gt;
Make changes&lt;br&gt;
Browse and inspect the evolution of project files&lt;br&gt;
$ git diff [first-branch]...[second-branch]&lt;br&gt;
Shows content differences between two branches&lt;br&gt;
$ git log --follow [file]&lt;br&gt;
Lists version history for a file, including renames&lt;br&gt;
$ git log&lt;br&gt;
Lists version history for the current branch&lt;br&gt;
$ git reset --hard [commit]&lt;br&gt;
Discards all history and changes back to the specified commit&lt;br&gt;
Redo commits&lt;br&gt;
Erase mistakes and craft replacement history&lt;br&gt;
CAUTION! Changing history can have nasty side effects. If you&lt;br&gt;
need to change commits that exist on GitHub (the remote),&lt;br&gt;
proceed with caution. If you need help, reach out at&lt;br&gt;
github.community or contact support.&lt;br&gt;
$ git reset [commit]&lt;br&gt;
Undoes all commits after [commit], preserving changes locally&lt;br&gt;
Git Cheat Sheet&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How to hack chatgpt and earn millions</title>
      <dc:creator>Mohammad Adil Rasheed</dc:creator>
      <pubDate>Wed, 03 Apr 2024 21:30:20 +0000</pubDate>
      <link>https://forem.com/adilrasheed/how-to-hack-chatgpt-and-earn-crores-55gd</link>
      <guid>https://forem.com/adilrasheed/how-to-hack-chatgpt-and-earn-crores-55gd</guid>
      <description>&lt;p&gt;&lt;strong&gt;10 Ways to Make Money with ChatGPT&lt;/strong&gt;&lt;br&gt;
Artificial Intelligence is growing way faster than most tech gurus anticipated. As the cost of the internet became cheaper, the benefits of Artificial Intelligence became handy to the common man. One such miracle of AI is ChatGPT-4, an AI-based chat box developed by OpenAI.&lt;br&gt;
&lt;strong&gt;1. E-Mail Writing&lt;/strong&gt;&lt;br&gt;
There are several ways to make money with ChatGPT, for instance, you can write emails based on the input given to it. Emails are most prominent in digital marketing, the software industry, and many more domains. For example, the HR department in a software company may require to send emails to candidates who are selected for their company. Also, E-mailing is the most prominent method in Digital Marketing. You can take the help of ChatGPT in writing emails and you can deliver them to various candidates and get paid. This can be an easy side hustle to earn online.&lt;br&gt;
&lt;strong&gt;2. Blogging/Copywriting&lt;/strong&gt;&lt;br&gt;
Blogging can be a great freelancing idea when dealt with properly. Blogs are websites that provide useful information regarding various topics. Writing content in blogs requires a lot of time and effort for research, and writing SEO (Search Engine Optimization) friendly and error-free content. &lt;/p&gt;

&lt;p&gt;However, if you are looking to make money with ChatGPT-4, then this could be a game changer. ChatGPT can reduce this entire burden by providing you required content. You can give the required keywords to the ChatGPT and it will create content accordingly. You can publish these blogs on your website and can gain money through BingAds, Google Ads, or Advertisements from other blogs.&lt;br&gt;
&lt;strong&gt;3. Online Tutoring/Solving Problems&lt;/strong&gt;&lt;br&gt;
ChatGPT acts as a filter for all the content that is available on the internet. You can use this to create good content on various topics and post them on your website or share them for reasonable prices. You can also use these to create a video and share them on YouTube. Websites such as Chegg, Quora, etc. will pay for solving various questions posed by students. In such cases, you can make money with ChatGPT.&lt;br&gt;
&lt;strong&gt;4. Translation Services&lt;/strong&gt;&lt;br&gt;
As we are in a world of thousands of languages, Translation Service is one such area that has great potential to earn money online. ChatGPT can translate various languages with decent grammar based on their development in that language. You can use ChatGPT to translate various books, novels, documents, or even social media posts. You can use this work and it could be one of the easiest ways to make money with ChatGPT.&lt;br&gt;
&lt;strong&gt;5. Create PPTs&lt;/strong&gt; &lt;br&gt;
PowerPoint Presentations are widely used in school education to seminars in Multi-National Companies. A good PPT can be made by ChatGPT with the inputs we give. These PPTs can be sold to various organizations or persons based on the content in them. However, there are a few steps you need to follow to extract a PPT as ChatGPT gives replies only in text. You have to install the Python PPT prompt or have to run the VBA code in PPT. You can refer to various YouTube videos on how to create PPTs using GPT-4.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.geeksforgeeks.org/make-money-with-chatgpt/" rel="noopener noreferrer"&gt;Want to know more click here&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>React 19 : Unveiling Exciting New Features</title>
      <dc:creator>Mohammad Adil Rasheed</dc:creator>
      <pubDate>Wed, 03 Apr 2024 21:29:02 +0000</pubDate>
      <link>https://forem.com/adilrasheed/how-to-think-like-a-pro-developer-4bfp</link>
      <guid>https://forem.com/adilrasheed/how-to-think-like-a-pro-developer-4bfp</guid>
      <description>&lt;p&gt;&lt;strong&gt;01 :  The React Compiler&lt;/strong&gt;&lt;br&gt;
At the forefront of React 19 is the eagerly awaited React Compiler, a revolutionary tool that redefines how React applications are built and optimized. By converting React&lt;br&gt;
code into optimized JavaScript during the build process,&lt;br&gt;
the React Compiler holds the potential to double&lt;br&gt;
performance, significantly improving the efficiency and&lt;br&gt;
responsiveness of applications. With the React Compiler,&lt;br&gt;
developers can unlock unparalleled performance gains&lt;br&gt;
without sacrificing development speed or productivity.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;02 : Actions&lt;/strong&gt;&lt;br&gt;
React 19 introduces Actions, a powerful abstraction that&lt;br&gt;
simplifies data handling and interactions within web pages.&lt;br&gt;
With Actions, developers can encapsulate complex logic&lt;br&gt;
into reusable units, promoting modularity and&lt;br&gt;
maintainability. By decoupling UI components from data&lt;br&gt;
manipulation, Actions streamline development workflows&lt;br&gt;
and empower developers to create more dynamic and&lt;br&gt;
interactive user experiences with ease.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;03 : Server Components&lt;/strong&gt;&lt;br&gt;
In a bid to enhance performance and SEO, React 19&lt;br&gt;
introduces Server Components, a game-changing feature that&lt;/p&gt;

&lt;p&gt;enables components to be rendered on the server. By pre-&lt;br&gt;
rendering components on the server, React 19 accelerates&lt;/p&gt;

&lt;p&gt;page loads, delivering faster rendering times and improved&lt;br&gt;
search engine visibility. Server Components represent a&lt;br&gt;
significant advancement in React development, offering&lt;br&gt;
developers a powerful tool to optimize performance and&lt;br&gt;
enhance the discoverability of their applications.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;04 : Asset Loading&lt;/strong&gt;&lt;br&gt;
React 19 introduces seamless asset loading, allowing&lt;br&gt;
assets such as images, stylesheets, and scripts to be&lt;br&gt;
loaded in the background. By preloading assets, React 19&lt;br&gt;
minimizes latency and enables smoother page transitions,&lt;br&gt;
enhancing the overall user experience. With asset loading,&lt;br&gt;
developers can ensure that their applications feel&lt;br&gt;
responsive and fluid, even in bandwidth-constrained&lt;br&gt;
environments.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;05 : Document Metadata&lt;/strong&gt;&lt;br&gt;
Enhancing the discoverability of web applications is made&lt;br&gt;
easier with React 19's Document Metadata feature. By&lt;br&gt;
leveraging the  component, developers can&lt;br&gt;
effortlessly manage document metadata, including title tags,&lt;br&gt;
meta descriptions, and canonical URLs. This streamlined&lt;br&gt;
approach to SEO optimization enables developers to enhance&lt;br&gt;
the visibility and relevance of their applications in search&lt;br&gt;
engine results, driving organic traffic and engagement.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;06 : Web Components&lt;/strong&gt;&lt;br&gt;
React 19 extends its support for Web Components,&lt;br&gt;
offering improved compatibility and interoperability for&lt;br&gt;
more flexible development. By seamlessly integrating with&lt;br&gt;
existing Web Components, React 19 empowers&lt;br&gt;
developers to leverage the rich ecosystem of reusable UI&lt;br&gt;
elements, libraries, and frameworks, enabling faster&lt;br&gt;
development cycles and greater code reusability.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;07 : Enhanced Hooks&lt;/strong&gt;&lt;br&gt;
Building upon the success of React Hooks, React 19&lt;br&gt;
introduces Enhanced Hooks, providing developers with&lt;br&gt;
greater control over component lifecycle and state&lt;br&gt;
management. With Enhanced Hooks, developers can finetune the behavior of components, optimize performance,&lt;br&gt;
and build more scalable and maintainable applications.&lt;br&gt;
Whether it's managing side effects, handling asynchronous&lt;br&gt;
operations, or orchestrating complex state transitions,&lt;br&gt;
Enhanced Hooks offer a powerful mechanism for building&lt;br&gt;
robust and efficient React applications.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Credit:- Sameer Ahmad&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>react</category>
      <category>reactjsdevelopment</category>
    </item>
    <item>
      <title>HTML Ultimate guide for beginners</title>
      <dc:creator>Mohammad Adil Rasheed</dc:creator>
      <pubDate>Wed, 03 Apr 2024 21:22:31 +0000</pubDate>
      <link>https://forem.com/adilrasheed/html-ultimate-guide-for-beginners-81k</link>
      <guid>https://forem.com/adilrasheed/html-ultimate-guide-for-beginners-81k</guid>
      <description>&lt;p&gt;&lt;strong&gt;1.HTML Doctype Tag&lt;/strong&gt;&lt;br&gt;
This HTML tag is used to define the document type.&lt;br&gt;
&amp;lt;!DOCTYPE html&amp;gt;&lt;br&gt;
&lt;strong&gt;2.HTML Anchor Tag&lt;/strong&gt;&lt;br&gt;
The anchor tag is used to create hyperlinks.&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;3. HTML Address Tag **&lt;br&gt;
This tag is used to define the contact information for the author or owner of a document.&lt;br&gt;
**4.HTML Article Tag&lt;/strong&gt;&lt;br&gt;
This HTML tags represents an independent, and self-contained piece of content within a document.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. HTML Aside Tag&lt;/strong&gt;&lt;br&gt;
This tag is used to define the content that is tangentially related to the main content.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. HTML Audio Tag&lt;/strong&gt;&lt;br&gt;
The audio tag is used to play audio files on a web page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;7. HTML Bold Tag&lt;/strong&gt;&lt;br&gt;
This HTML tag is used to render the tax in bold.&lt;br&gt;
&lt;b&gt;&lt;/b&gt;&lt;br&gt;
&lt;strong&gt;8. HTML BlockQuote Tag&lt;/strong&gt;&lt;br&gt;
This tag indicates a section of quoted content from another source.&lt;/p&gt;

&lt;blockquote&gt;&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;9. HTML Body Tag&lt;/strong&gt;&lt;br&gt;
The body tag contains the main content of an HTML document.&lt;br&gt;
&lt;/p&gt;
&lt;br&gt;
&lt;strong&gt;10. HTML Button Tag&lt;/strong&gt;&lt;br&gt;
The HTML Button tag is used to represent a clickable button.&lt;br&gt;
&lt;br&gt;
 &lt;strong&gt;11. HTML Break Tag&lt;/strong&gt;&lt;br&gt;
This HTML tag is used for a line-break and to create a new line without creating any new paragraph.&lt;br&gt;
&lt;br&gt;&lt;br&gt;
&lt;strong&gt;12. HTML Canvas Tag&lt;/strong&gt;&lt;br&gt;
In HTML the  tag is used for drawing surface for dynamic graphics and animations.



&lt;p&gt;&lt;strong&gt;13. HTML Code Tag&lt;/strong&gt;&lt;br&gt;
The &lt;code&gt; tag is used to define a piece of computer code in the HTML document.&lt;br&gt;
&lt;code&gt;&lt;/code&gt;&lt;br&gt;
&lt;strong&gt;14. HTML Datalist Tag&lt;/strong&gt;&lt;br&gt;
This HTML tag is used to define a set of predefined options for an  element.&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;15. HTML Details Tag&lt;/strong&gt;&lt;br&gt;
The  HTML tag creates a disclosure widget which is used to show or hid the additional content on the web page.&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;16. HTML Dialog Tag&lt;/strong&gt;&lt;br&gt;
The  tag is used to represent a dialog box or a modal window.&lt;br&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;17. HTML Div Tag&lt;/strong&gt;&lt;br&gt;
This HTML tag is used to define a division or section within an HTML document.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;18. HTML Em Tag&lt;/strong&gt;&lt;br&gt;
The &lt;em&gt; HTML tag is used to render the text in italics, indicating emphasis.&lt;br&gt;
&lt;em&gt;&lt;/em&gt;&lt;br&gt;
&lt;strong&gt;19. HTML Fieldset Tag&lt;/strong&gt;&lt;br&gt;
The  HTML tag groups related form elements together and provide a visual representation.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;20. HTML Figcaption Tag&lt;/strong&gt;&lt;br&gt;
This HTML tag is used to represent a caption or legend for an  element.&lt;br&gt;
&lt;strong&gt;21. HTML Figure Tag&lt;/strong&gt;&lt;br&gt;
It is a self-contained content, such as images, diagrams, or code snippets.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;22. HTML Footer Tag&lt;/strong&gt;&lt;br&gt;
The HTML  tag is used to define the footer section of a document or a section in the webpage.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;23. HTML Form Tag&lt;/strong&gt;&lt;br&gt;
It is used to create a form for gathering user input and submit on the server.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;24. HTML h1 to h6 Tag&lt;/strong&gt;&lt;br&gt;
These HTML tags are used to define different levels of heading on the webpage, where h1 is the highest and h6 is the lowest heading in HTML.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;25. HTML Head Tag&lt;/strong&gt;&lt;br&gt;
It contains meta-information about the HTML document, such as the title and link to external stylesheets and more..&lt;br&gt;
&lt;/p&gt;
&lt;br&gt;
&lt;strong&gt;26. HTML Header Tag&lt;/strong&gt;&lt;br&gt;
This HTML tag is used to represent the introductory content or a container for the header of a document or a section.



&lt;p&gt;&lt;strong&gt;27. HTML Tag&lt;/strong&gt;&lt;br&gt;
This tag represents the root element of an HTML document. Here is the syntax to define it:&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;28. HTML I Tag&lt;/strong&gt;&lt;br&gt;
The  tag is used to render the text in italics.&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;29. HTML iframe Tag&lt;/strong&gt;&lt;br&gt;
The  HTML tag is used to embed an external web page or document within the current HTML document.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;30. HTML Image Tag&lt;/strong&gt;&lt;br&gt;
This HTML tag is used to insert an image into the web page.&lt;br&gt;
&lt;a href="" class="article-body-image-wrapper"&gt;&lt;img alt=""&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>JavaScript Basic Coding Challenges for Beginners part-2</title>
      <dc:creator>Mohammad Adil Rasheed</dc:creator>
      <pubDate>Wed, 03 Apr 2024 20:53:22 +0000</pubDate>
      <link>https://forem.com/adilrasheed/javascript-basic-coding-challenges-for-beginners-part-2-332k</link>
      <guid>https://forem.com/adilrasheed/javascript-basic-coding-challenges-for-beginners-part-2-332k</guid>
      <description>&lt;p&gt;&lt;strong&gt;Coding Challenge #1&lt;/strong&gt;&lt;br&gt;
Given an array of forecasted maximum temperatures, the thermometer displays a string with the given temperatures. Example: [17, 21, 23] will print "... 17ºC in 1&lt;br&gt;
days ... 21ºC in 2 days ... 23ºC in 3 days ..."&lt;br&gt;
&lt;strong&gt;Your tasks:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create a function 'printForecast' which takes in an array 'arr' and logs a string like the above to the console. Try it with both test datasets.&lt;/li&gt;
&lt;li&gt;Use the problem-solving framework: Understand the problem and break it up
into sub-problems!
&lt;strong&gt;Test data:&lt;/strong&gt;
&lt;strong&gt;Data 1:&lt;/strong&gt; [17, 21, 23]
&lt;strong&gt;Data 2:&lt;/strong&gt; [12, 5, -5, 0, 4]&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Coding Challenge #2&lt;/strong&gt;&lt;br&gt;
Implement a game rest functionality, so that the player can make a new guess!&lt;br&gt;
&lt;strong&gt;Your tasks:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Select the element with the 'again' class and attach a click event handler&lt;/li&gt;
&lt;li&gt;In the handler function, restore initial values of the 'score' and 'secretNumber' variables&lt;/li&gt;
&lt;li&gt;Restore the initial conditions of the message, number, score and guess input fields&lt;/li&gt;
&lt;li&gt;Also restore the original background color (#222) and number width (15rem)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Coding Challenge #3&lt;/strong&gt;&lt;br&gt;
We're building a football betting app (soccer for my American friends Suppose we get data from a web service about a certain game ('game' variable on next page). In this challenge we're gonna work with that data.&lt;br&gt;
&lt;strong&gt;Your tasks:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create one player array for each team (variables 'players1' and
'players2')&lt;/li&gt;
&lt;li&gt;The first player in any player array is the goalkeeper and the others are field players. For Bayern Munich (team 1) create one variable ('gk') with the goalkeeper's name, and one array ('fieldPlayers') with all the remaining 10 field players&lt;/li&gt;
&lt;li&gt;Create an array 'allPlayers' containing all players of both teams (22 players)&lt;/li&gt;
&lt;li&gt;During the game, Bayern Munich (team 1) used 3 substitute players. So create a new array ('players1Final') containing all the original team1 players plus 'Thiago', 'Coutinho' and 'Perisic'&lt;/li&gt;
&lt;li&gt;Based on the game.odds object, create one variable for each odd (called 'team1', 'draw' and 'team2')&lt;/li&gt;
&lt;li&gt;Write a function ('printGoals') that receives an arbitrary number of player names (not an array) and prints each of them to the console, along with the number of goals that were scored in total (number of player names passed in)&lt;/li&gt;
&lt;li&gt;The team with the lower odd is more likely to win. Print to the console which team is more likely to win, without using an if/else statement or the ternary operator.
Test data for 6.: First, use players 'Davies', 'Muller', 'Lewandowski' and 'Kimmich'.
Then, call the function again with players from game.scored&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://www.udemy.com/course/the-complete-javascript-course/?couponCode=KEEPLEARNING" rel="noopener noreferrer"&gt;John's best javascript course from udemy&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
    <item>
      <title>JavaScript Basic Coding Challenges for Beginners part-1</title>
      <dc:creator>Mohammad Adil Rasheed</dc:creator>
      <pubDate>Wed, 03 Apr 2024 20:14:42 +0000</pubDate>
      <link>https://forem.com/adilrasheed/javascript-basic-coding-challenges-3ab3</link>
      <guid>https://forem.com/adilrasheed/javascript-basic-coding-challenges-3ab3</guid>
      <description>&lt;p&gt;&lt;strong&gt;Coding Challenge #1&lt;/strong&gt;&lt;br&gt;
Mark and John are trying to compare their BMI (Body Mass Index), which is calculated using the formula:&lt;br&gt;
BMI = mass / height ** 2 = mass / (height * height) (mass in kg&lt;br&gt;
and height in meter).&lt;br&gt;
&lt;strong&gt;Your tasks:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Store Mark's and John's mass and height in variables&lt;/li&gt;
&lt;li&gt;Calculate both their BMIs using the formula (you can even implement both versions)&lt;/li&gt;
&lt;li&gt;Create a Boolean variable 'markHigherBMI' containing information about whether Mark has a higher BMI than John.
&lt;strong&gt;Test data:&lt;/strong&gt;
&lt;strong&gt;Data 1&lt;/strong&gt;: Marks weights 78 kg and is 1.69 m tall. John weights 92 kg and is 1.95 m tall.
&lt;strong&gt;Data 2&lt;/strong&gt;: Marks weights 95 kg and is 1.88 m tall. John weights 85 kg and is 1.76 m tall.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Coding Challenge #2&lt;/strong&gt;&lt;br&gt;
Use the BMI example from Challenge #1, and the code you already wrote, and improve it.&lt;br&gt;
&lt;strong&gt;Your tasks&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Print a nice output to the console, saying who has the higher BMI. The message is either "Mark's BMI is higher than John's!" or "John's BMI is higher than Mark's!"&lt;/li&gt;
&lt;li&gt;Use a template literal to include the BMI values in the outputs. Example: "Mark's BMI (28.3) is higher than John's (23.9)!" &lt;strong&gt;Hint:&lt;/strong&gt; Use an if/else statement &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Coding Challenge #3&lt;/strong&gt;&lt;br&gt;
There are two gymnastics teams, Dolphins and Koalas. They compete against each other 3 times. The winner with the highest average score wins a trophy!&lt;br&gt;
&lt;strong&gt;Your tasks:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Calculate the average score for each team, using the test data below&lt;/li&gt;
&lt;li&gt;Compare the team's average scores to determine the winner of the competition, and print it to the console. Don't forget that there can be a draw, so test for that as well (draw means they have the same average score)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bonus 1:&lt;/strong&gt; Include a requirement for a minimum score of 100. With this rule, a team only wins if it has a higher score than the other team, and the same time a score of at least 100 points. Hint: Use a logical operator to test for minimum score, as well as multiple else-if blocks &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bonus 2:&lt;/strong&gt; Minimum score also applies to a draw! So a draw only happens when both teams have the same score and both have a score greater or equal 100 points. Otherwise, no team wins the trophy
&lt;strong&gt;Test data:&lt;/strong&gt;
&lt;strong&gt;Data 1:&lt;/strong&gt; Dolphins score 96, 108 and 89. Koalas score 88, 91 and 110
&lt;strong&gt;Data Bonus 1&lt;/strong&gt;: Dolphins score 97, 112 and 101. Koalas score 109, 95 and 123
&lt;strong&gt;Data Bonus 2&lt;/strong&gt;: Dolphins score 97, 112 and 101. Koalas score 109, 95 and 106&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Coding Challenge #4&lt;/strong&gt;&lt;br&gt;
Steven wants to build a very simple tip calculator for whenever he goes eating in a restaurant. In his country, it's usual to tip 15% if the bill value is between 50 and 300. If the value is different, the tip is 20%.&lt;br&gt;
&lt;strong&gt;Your tasks:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Calculate the tip, depending on the bill value. Create a variable called 'tip' for this. It's not allowed to use an if/else statement  (If it's easier for you, you can start with an if/else statement, and then try to convert it to a ternary operator!)&lt;/li&gt;
&lt;li&gt;Print a string to the console containing the bill value, the tip, and the final value (bill + tip). Example: “The bill was 275, the tip was 41.25, and the total value 316.25”
&lt;strong&gt;Test data:&lt;/strong&gt;
&lt;strong&gt;Data 1:&lt;/strong&gt; Test for bill values 275, 40 and 430
&lt;strong&gt;Hints:&lt;/strong&gt;
To calculate 20% of a value, simply multiply it by 20/100 = 0.2
Value X is between 50 and 300, if it's &amp;gt;= 50 &amp;amp;&amp;amp; &amp;lt;= 300 &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Coding Challenge #5&lt;/strong&gt;&lt;br&gt;
Back to the two gymnastics teams, the Dolphins and the Koalas! There is a new gymnastics discipline, which works differently.&lt;br&gt;
Each team competes 3 times, and then the average of the 3 scores is calculated (so one average score per team). A team only wins if it has at least double the average score of the other team. Otherwise, no team wins!&lt;br&gt;
&lt;strong&gt;Your tasks:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create an arrow function 'calcAverage' to calculate the average of 3 scores&lt;/li&gt;
&lt;li&gt;Use the function to calculate the average for both teams&lt;/li&gt;
&lt;li&gt;Create a function 'checkWinner' that takes the average score of each team as parameters ('avgDolhins' and 'avgKoalas'), and then logs the winner to the console, together with the victory points, according to the rule above.
&lt;strong&gt;Example&lt;/strong&gt;: "Koalas win (30 vs. 13)"&lt;/li&gt;
&lt;li&gt;Use the 'checkWinner' function to determine the winner for both Data 1 and Data 2&lt;/li&gt;
&lt;li&gt;Ignore draws this time
&lt;strong&gt;Test data&lt;/strong&gt;:
&lt;strong&gt;Data 1:&lt;/strong&gt; Dolphins score 44, 23 and 71. Koalas score 65, 54 and 49
&lt;strong&gt;Data 2:&lt;/strong&gt; Dolphins score 85, 54 and 41. Koalas score 23, 34 and 27
&lt;strong&gt;Hints:&lt;/strong&gt;
To calculate average of 3 values, add them all together and divide by 3
To check if number A is at least double number B, check for A &amp;gt;= 2 * B. Apply this to the team's average scores &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Coding Challenge #6&lt;/strong&gt;&lt;br&gt;
Steven is still building his tip calculator, using the same rules as before: Tip 15% of the bill if the bill value is between 50 and 300, and if the value is different, the tip is 20%.&lt;br&gt;
&lt;strong&gt;Your tasks:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Write a function 'calcTip' that takes any bill value as an input and returns the corresponding tip, calculated based on the rules above (you can check out the code from first tip calculator challenge if you need to). Use the function type you like the most. Test the function using a bill value of 100&lt;/li&gt;
&lt;li&gt;And now let's use arrays! So create an array 'bills' containing the test data below&lt;/li&gt;
&lt;li&gt;Create an array 'tips' containing the tip value for each bill, calculated from the function you created before
4.** Bonus:** Create an array 'total' containing the total values, so the bill + tip
&lt;strong&gt;Test data:&lt;/strong&gt; 125, 555 and 44
Hint: Remember that an array needs a value in each position, and that value can actually be the returned value of a function! So you can just call a function as array values (so don't store the tip values in separate variables first, but right in the new
array) &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Coding Challenge #7&lt;/strong&gt;&lt;br&gt;
Let's go back to Mark and John comparing their BMIs! This time, let's use objects to implement the calculations! Remember: BMI = mass / height ** 2 = mass / (height * height) (mass in kg and height in meter)&lt;br&gt;
&lt;strong&gt;Your tasks:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;For each of them, create an object with properties for their full name, mass, and height (Mark Miller and John Smith)&lt;/li&gt;
&lt;li&gt;Create a 'calcBMI' method on each object to calculate the BMI (the same method on both objects). Store the BMI value to a property, and also return it from the method&lt;/li&gt;
&lt;li&gt;Log to the console who has the higher BMI, together with the full name and the respective BMI. Example: "John's BMI (28.3) is higher than Mark's (23.9)!"
&lt;strong&gt;Test data:&lt;/strong&gt; Marks weights 78 kg and is 1.69 m tall. John weights 92 kg and is 1.95 m tall.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Coding Challenge #8&lt;/strong&gt;&lt;br&gt;
Let's improve Steven's tip calculator even more, this time using loops!&lt;br&gt;
&lt;strong&gt;Your tasks:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create an array 'bills' containing all 10 test bill values&lt;/li&gt;
&lt;li&gt;Create empty arrays for the tips and the totals ('tips' and 'totals')&lt;/li&gt;
&lt;li&gt;Use the 'calcTip' function we wrote before (no need to repeat) to calculate tips and total values (bill + tip) for every bill value in the bills array. Use a for loop to perform the 10 calculations!
&lt;strong&gt;Test data&lt;/strong&gt;: 22, 295, 176, 440, 37, 105, 10, 1100, 86 and 52
&lt;strong&gt;Hints&lt;/strong&gt;: Call ‘calcTip ‘in the loop and use the push method to add values to the tips and totals arrays  bonus.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bonus&lt;/strong&gt;: Write a function 'calcAverage' which takes an array called 'arr' as an argument. This function calculates the average of all numbers in the given array. This is a difficult challenge (we haven't done this before)! Here is how to solve it:
4.1. First, you will need to add up all values in the array. To do the addition, start by creating a variable 'sum' that starts at 0. Then loop over the array using a for loop. In each iteration, add the current value to the 'sum' variable. This way, by the end of the loop, you have all values added together
4.2. To calculate the average, divide the sum you calculated before by the length of the array (because that's the number of elements)
4.3. Call the function with the 'totals' array&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://www.udemy.com/course/the-complete-javascript-course/?couponCode=NVDPRODIN35" rel="noopener noreferrer"&gt;Buy John's Best Javascript course from Udemy&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>coding</category>
    </item>
  </channel>
</rss>
