Skip to content

Commit

Permalink
I have added new topic under the course root Skills and knoledge, an…
Browse files Browse the repository at this point in the history
…d in other javscript components, i have just modified the styles and changed the appearance
  • Loading branch information
massarinoaa committed May 31, 2024
1 parent e4ffa2e commit 94a7db7
Show file tree
Hide file tree
Showing 41 changed files with 5,381 additions and 105 deletions.
6 changes: 5 additions & 1 deletion src/CourseNavLinks.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,16 @@ const CourseNavLinks = () => {
</NavLink>
<NavLink to={"/javascriptCourse"}>
{" "}
<span title="Javascript course">Javascript</span>{" "}
<span title="Javascript course">JavaScript</span>{" "}
</NavLink>
<NavLink to={"/react"}>
{" "}
<span title="React course">React</span>{" "}
</NavLink>
<NavLink to={"/KnowledgeAndSkills"}>
{" "}
<span title=" Skills and Knowledge">Skills & 📚</span>{" "}
</NavLink>
</main>
</div>
);
Expand Down
2 changes: 2 additions & 0 deletions src/CourseRoutes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ import Filter, { Responsive } from "./css/Filter&Responsive";
import LandingPage from "./LandingPage";
import Policies from "./Policy";
import ResponsiveHTML from "./html/Responsive";
import SkillsAndKnowledge from "./SkillsAndKnowledge";

const CourseRoutes = () => {
return (
Expand Down Expand Up @@ -137,6 +138,7 @@ const CourseRoutes = () => {
<Route path="javascriptCourse" element={<Jscourse />}></Route>
<Route path="react" element={<Reactcourse />}></Route>
<Route path="policy" element={<Policies />} />
<Route path="KnowledgeAndSkills" element={<SkillsAndKnowledge />} />
</Routes>
</div>
);
Expand Down
8 changes: 4 additions & 4 deletions src/Javascript/API.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const IntroAPI = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>What is an API?</h1>
<p>
An API, or Application Programming Interface, is a set of defined rules
Expand Down Expand Up @@ -129,7 +129,7 @@ export default IntroAPI;

export const FetchingDataFromApis = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>Fetching Data from APIs</h1>
<p>
{`Now that we've learned about APIs, let's dive into how to fetch data from
Expand Down Expand Up @@ -294,9 +294,9 @@ export const FetchingDataFromApis = () => {
<button onClick={() => (window.location.href = "/IntroAPI")}>
back
</button>
<button onClick={() => (window.location.href = "/WorkingWithAPIs")}>
{/* <button onClick={() => (window.location.href = "/WorkingWithAPIs")}>
Next
</button>
</button> */}
</div>
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion src/Javascript/Arrays.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const Arrays = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1> JavaScript Array</h1>
<p>
In programming, an array is a data structure that contains a collection
Expand Down
10 changes: 5 additions & 5 deletions src/Javascript/Asynhronous.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const UnderstandingAsynchronousProgramming = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>
Synchronous vs. Asynchronous Programming: Keeping Your Web Pages
Responsive
Expand Down Expand Up @@ -89,7 +89,7 @@ export default UnderstandingAsynchronousProgramming;

export const EventLoop = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>
{" "}
The {`Browser's`} Event Loop: The Traffic Cop for Asynchronous Tasks
Expand Down Expand Up @@ -188,7 +188,7 @@ export const EventLoop = () => {

export const CallBacks = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>Callbacks: Your Asynchronous Task Force in JavaScript</h1>
<p>
{" "}
Expand Down Expand Up @@ -361,7 +361,7 @@ console.log("This line will execute before new updates arrive.");

export const Promises = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>Imagine Promises as Waiters in a Restaurant</h1>
<p>
{" "}
Expand Down Expand Up @@ -495,7 +495,7 @@ orderPizza('veggie')

export const AsyncAwait = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>Async and Await: Simplifying Asynchronous Programming</h1>
<p>
Promises are fantastic for managing asynchronous operations in
Expand Down
14 changes: 7 additions & 7 deletions src/Javascript/BOM.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const IntroductionBOM = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>Welcome to the Wonderful World of the BOM!</h1>

<p>
Expand Down Expand Up @@ -122,7 +122,7 @@ export default IntroductionBOM;

export const WindowObject = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>Welcome to the Wonderful World of the Window Object!</h1>

<p>
Expand Down Expand Up @@ -274,7 +274,7 @@ console.log("Window width:", windowWidth, "Window height:", windowHeight);

export const LocationObject = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>Introduction to the Location Object (URL Manipulation)</h1>
<p>
The Browser Object Model (BOM) offers a toolbox of functionalities to
Expand Down Expand Up @@ -417,7 +417,7 @@ location.reload(); // Reloads the current page

export const NavigationObject = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>
Introduction to the Navigation Object (Browser Navigation Information)
</h1>
Expand Down Expand Up @@ -527,7 +527,7 @@ console.log("User Agent:", userAgent);

export const HistoryObject = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>
{" "}
Introduction to the History Object (Navigation History Manipulation)
Expand Down Expand Up @@ -659,7 +659,7 @@ history.forward(); // Move one step forward in history (same as history.go(1))

export const ScreenObject = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>Introduction to the Screen Object (Screen Size and Resolution)</h1>
<p>
The Browser Object Model (BOM) equips you with various tools to interact
Expand Down Expand Up @@ -777,7 +777,7 @@ console.log("Color depth:", colorDepth, "Pixel depth:", pixelDepth);

export const BOMApplication = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>BOM Applications (uer interaction beyond the page content)</h1>
<p>
Absolutely! Now that{" "}
Expand Down
6 changes: 3 additions & 3 deletions src/Javascript/Comments.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const Comments = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>Welcome to the Wonderful World of Comments!</h1>
<p>
Just like how we use comments in our daily lives to explain things or
Expand Down Expand Up @@ -117,7 +117,7 @@ export default Comments;

export const ScopeJS = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>What is Scope?</h1>
<p>
Scope, in simple terms, refers to the visibility or accessibility of
Expand Down Expand Up @@ -257,7 +257,7 @@ outerFunction();

export const Hoisting = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>Introduction to Hoisting in JavaScript (JS)</h1>
<p>
{" "}
Expand Down
8 changes: 4 additions & 4 deletions src/Javascript/DOM.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const DOMintro = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>Welcome to the Wonderful World of the DOM!</h1>
<p>
Have you ever clicked a button on a website and something cool happened?
Expand Down Expand Up @@ -126,7 +126,7 @@ const DOMintro = () => {
export default DOMintro;
export const SelectingElementsINDom = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>Picking Your Targets: Selecting Elements in the DOM (Enhanced)</h1>
<p>
{" "}
Expand Down Expand Up @@ -302,7 +302,7 @@ const allButtons = document.querySelectorAll("button");

export const ModifyingElements = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>How to Modify DOM Elements</h1>
<p>
Once you have access to DOM elements, you can modify them in various
Expand Down Expand Up @@ -1046,7 +1046,7 @@ console.log("Has 'text-dark' class:", hasTextDarkClass); // Outputs true or fals

export const EventHandling = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>Understanding DOM Events and JavaScript Event Listeners </h1>
<p>
{" "}
Expand Down
4 changes: 2 additions & 2 deletions src/Javascript/DateObject.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const DateObject = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>What is a Date in JavaScript?</h1>
<p>
Imagine {`you're`} planning a birthday party for your friend. You need
Expand Down Expand Up @@ -151,7 +151,7 @@ export default DateObject;

export const MathObject = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>What is Math in JavaScript?</h1>
<h2>Imagine {`You're`} a Master Chef</h2>
<p>
Expand Down
6 changes: 3 additions & 3 deletions src/Javascript/ErrorHandling.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const TryCatch = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>Try/Catch Statements: Graceful Error Handling in JavaScript</h1>
<p>
{" "}
Expand Down Expand Up @@ -137,7 +137,7 @@ export default TryCatch;

export const ThrowingErro = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>Throwing and Handling Errors: Taking Control in JavaScript</h1>
<p>
{" "}
Expand Down Expand Up @@ -235,7 +235,7 @@ try {

export const DebuggingTech = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1> Debugging Techniques: Unveiling the Mysteries of JavaScript</h1>
<p>
Even the best JavaScript code can have errors. Debugging techniques help
Expand Down
10 changes: 5 additions & 5 deletions src/Javascript/Functions.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const DefiningCallingFunc = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>Welcome to the Wonderful World of JavaScript Functions!</h1>
<p>
Welcome, future JavaScript masters! Today, {`we'll`} meet some
Expand Down Expand Up @@ -122,7 +122,7 @@ export default DefiningCallingFunc;

export const ParameterArgument = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>
Level Up Your Functions: Using Parameters and Arguments like a Pro
</h1>
Expand Down Expand Up @@ -246,7 +246,7 @@ greetUser("Alice"); // "Alice" is the argument for the "name" parameter
};
export const ReturnValues = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>
Unlocking the Power of Returning Values: Giving Your Functions Results
</h1>
Expand Down Expand Up @@ -375,7 +375,7 @@ console.log("The area of the rectangle is:", rectangleArea); // This will print:

export const FuncScope = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>Demystifying Function Scope: Where Your Variables Live</h1>
<p>
In our JavaScript journey,{" "}
Expand Down Expand Up @@ -476,7 +476,7 @@ greetUser(); // This will print "Hello, Alice!"

export const ArrowFunc = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>Introducing Arrow Functions: A Simpler Way to Write Functions</h1>
<p>
{" "}
Expand Down
6 changes: 3 additions & 3 deletions src/Javascript/GlimpsIntro.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const WhatJavaScript = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>{`Let's`} Dive into JavaScript!</h1>
<h2>
Note: Throughout this guide, {`you'll see "JavaScript" and "JS"`} used
Expand Down Expand Up @@ -117,7 +117,7 @@ const WhatJavaScript = () => {
export default WhatJavaScript;
export const WhyJavascript = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>Why Learn JavaScript?</h1>
<h2>Unleash the Power of JavaScript</h2>
<p>
Expand Down Expand Up @@ -209,7 +209,7 @@ export const WhyJavascript = () => {

export const RunningJS = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>JavaScript Basics: How to Insert and Run Your Code</h1>

<p>
Expand Down
2 changes: 1 addition & 1 deletion src/Javascript/JSOn.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const JSOn = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>What is JSON?</h1>
<p>
{`JSON is a lightweight data interchange format that's easy to read and
Expand Down
2 changes: 1 addition & 1 deletion src/Javascript/JavascriptVsECMAScript.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const JavascriptVsECMAScript = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>Welcome to the World of JavaScript and ECMAScript!</h1>
<p>
Hey there! So,{" "}
Expand Down
2 changes: 1 addition & 1 deletion src/Javascript/Loops.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const Loops = () => {
return (
<div className="comments-container">
<div className="comments-container internet">
<h1>Loops: What They Are and How They Work</h1>
<p>
Think of loops as your personal automation crew. {`They're`} the
Expand Down
Loading

0 comments on commit 94a7db7

Please sign in to comment.