Skip to content

Instantly share code, notes, and snippets.

@reay23
reay23 / App
Created October 4, 2025 12:14
Component and App files
import React from "react";
import Banner from "../components/banner";
import About from "../components/about";
import Products from "../components/products";
import Contact from "../components/contact";
function App(){
return(
<div>
<Banner />
<About />
@reay23
reay23 / ARRAY_METHOD
Created September 27, 2025 21:39
COS209-Assignment
Here i created an array with names of movies and i used the push() tag to add to the array and pop() to remove from the array and
added a punctuation mark by creating a variable and assigning it to put it into the array
let movies = ['Heartstopper','Young royals','Heartbreak high','Love simon','Love victor'];
movies.push('Young hearts');
console.log(movies);
movies.pop()
console.log(movies);
let joined = movies.join('<');
console.log(joined);