Skip to content

samyarj/CTRL-Urself

Repository files navigation

Ctrl + U 🚀

  • This repository contains the front-end and back-end files for a website that promotes personalized habits or tools to optimize control over screen time usage💻
  • This project was developed during the 2023 Hackathon hosted by Polytechnique Montreal

Contributers

  • Samyar Janatian
  • Rayan Ajakane
  • Nacim Bourelam
  • Hamza Yazough

How to Use 💡

  • Open the index.html file in a web browser, or click here: https://hackatonxx.nmbm.repl.co/ 🌐

  • Answer the multiple choice questions 🤔

  • Submit your answers 📝

Research 📚

A list of research-based recommendations:

Presentation 🗣️

File Structure 🗂️

The repository contains the following files: index.html, style.css, script.js

Front-End 🎨

The front-end of the website is composed of:

  • index.html - The main HTML file defines the Home page of the website that links to the form
  • style.css and AutreCss.css - The stylesheet files that is responsible for the website's appearance and layout 🎨

Back-End 💻

The back-end of the website is composed of:

  • script.js - The JavaScript file that implements the functionality of the website and interacts with the front-end 🔨
  • process_form.php - This PHP file is reponsable for capturing the user's answers once the form is submitted
  • phpWriter.php - This PHP file generate customized recommendations dependig on the user's selections