PORTFOLIO - SCHOOL

Work

Img of Tristess-Generator

TRISTESS-GENERATOR V.1.0

About:
This project was a JavaScript game designed to suggest activities based on three scenarios: when you're alone, with friends, or on a date. The primary objective was to enhance JavaScript programming skills through practical application.

Purpouse:
Learn JavaScript

Img of Tristess-Generator

Tristess-Generator V. 1.0 was a fun and engaging way to learn how to implement JavaScript in a basic game structure.

Image of Tristess-Generator

To create the "Tristess Generator," which offers activity suggestions based on whether you're alone, with friends, or on a date, I utilized a range of JavaScript methods and techniques.

Image of Tristess-Generator

First, I obtained references to the relevant HTML elements using document.getElementById, which enabled interaction with buttons, images, and text areas within the HTML document.

Next, I added event listeners to these buttons to trigger specific functions upon clicks. This setup ensures that each button performs a distinct action according to its intended purpose.

Img of Tristess-Generator

The handleButtonClick function manages button clicks using a switch statement to call specific functions for each button, based on the button's ID. This function also updates the visual state of the buttons by removing a CSS class (clicked) from all buttons and adding it only to the clicked button, providing immediate visual feedback to the user.

Image of Tristess-Generator

For each scenario (alone, with friends, on a date), there are specific functions that manage the display and behavior of elements.

To provide random activity suggestions, I used JavaScript’s Math.random function in combination with arrays. I stored activity suggestions for each scenario (alone, with friends, or on a date) in separate arrays. When a user requested a suggestion, I generated a random index using Math.random and scaled it with Math.floor to ensure it fell within the bounds of the array. This index was then used to select and display a random activity from the array, resulting in varied suggestions each time the user interacted with the game.

Overall, the TRISTESS-GENERATOR was a fun way to explore the power of basic JS usage!

Img of website I(A)mpossible

I[A]MPOSSIBLE

About:
A basic website designed to represent a webshop that sells impossible items. The website was crafted using Flexbox and CSS Grid for layout and responsiveness.

Purpouse:
Learn HTML & CSS

Img of website I(A)mpossible

i[A]mpossible was a basic HTML & CSS practise - representing a webshop that sells impossible things.

Img of website I(A)mpossible

I used flexbox to layout the navigationbar & grids to layout the "bestseller" product section - practising different ways to layout things. I really enjoyed the simplicity of flexbox while grids gave me more freedom to design it however i wanted.

Img of website I(A)mpossible

Using media queries, I ensured that the website was responsive, designing it to fit aesthetically on every screen size.

Img of website I(A)mpossible

Experimenting with CSS design, I utilized the border-radius property to give the divs smooth, rounded edges.

Img of website I(A)mpossible

When the index page was completed, I took several important steps to optimize it:

  • • Image optimization
  • • Compatibility research and fixes
  • • Debugging code
  • • Cleaning up the code to remove any unnecessary elements

This project was great fun and provided valuable insights into structuring and organizing code and layouts!

Image of RecyRoute-project

RECYROUTE

About:
A digital solution designed to assist individuals who face long distances to recycling centers, making recycling easier and more motivating.

Purpose:
Practice working in a team while applying the principles of design thinking.

Image of RecyRoute-project
Image of JapanPosters-project

JAPAN POSTERS

About:
A basic webshop for a fictional poster company specializing in Japanese art.

Purpose:
Learn to work with CSS-frameworks (in this case: Tailwind)

Image of JapanPosters-project
Wanna se more?
Go to Work-projects