Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
Binary file added assets/.DS_Store
Binary file not shown.
Binary file added assets/img/.DS_Store
Binary file not shown.
Binary file added assets/img/1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/10.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/7.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/8.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/9.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/humidity.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/rain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/searchIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/wind.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
492 changes: 492 additions & 0 deletions css/styles.css

Large diffs are not rendered by default.

112 changes: 112 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./css/styles.css">
<title>Dashboard Project GGMJ</title>
</head>

<body>

<header>
<h1><a href="index.html">GGMJ's Widget App</a></h1>
<div class="navBar">
<div>
<a href="clock.html" data-widget="clockWidget">Clock</a>
<a href="weather.html" data-widget="=weatherWidget">Weather</a>
<a href="links.html" data-widget="linkWidget">Link Saver</a>
<a href="passwords.html" data-widget="passwordWidget">Password Generator</a>
</div>
</div>

</div>
</header>

<div class="container">

<div class="clockCard" id="clockWidget">
<div class="clock">
<div class="time"></div>
<div class="date"></div>
</div>
<div class="text">
<p></p>
</div>
</div>

<div class="weatherCard" id="weatherWidget">
<div class="weatherSearch">
<input type="text" placeholder="Enter city name" spellcheck="false">
<button><img src="./assets/img/searchIcon.png" alt="searchIcon"></button>
</div>
<div class="error">
<p>City not found</p>
</div>
<div class="weather">
<img class="weatherIcon" src="" alt="">
<h1 class="temp"></h1>
<h4 class="feel"></h4>
<h2 class="city"></h2>
<div class="details">
<div class="col">
<img src="./assets/img/humidity.png" alt="humidityIcon">
<div>
<p class="humidity"></p>
<p>Humidity</p>
</div>
<div class="col">
<img src="./assets/img/wind.png" alt="windIcon">
<div>
<p class="wind">25km/h</p>
<p>Wind Speed</p>
</div>
</div>
</div>
</div>
<div class="hourlyWeather"></div>
</div>
</div>

<div class="linkCard" id="linkWidget">
<h2>Favorite Links</h2>
<div class="link-items">
<div class="link-inputs">
<input type="text" id="link-title" placeholder="Enter link title">
<input type="url" id="link-url" placeholder="Paste link address">
</div>
<div class="link-button">
<button id="add-link-btn">Add Link</button>
</div>
</div>
<ul id="link-list"></ul>
</div>

<div class="passwordCard" id="passwordWidget">
<h2>Password Generator</h2>
<div class="password-items">
<div class="password-number">
<p>Number of characters: </p>
<input type="number" id="passwordLength" min="12" max="50" value="12">
</div>
<div class="password-button">
<button id="generateBtn">Generate Password</button>
</div>
<div class="passwords">
<input type="text" id="password" readonly>
</div>
</div>
</div>

</div>

<footer>
<p>Gabriel Garcia-Miro | Miami, FL | December 2023</p>
</footer>

<script src="./js/widgets.js"></script>

</body>

</html>
Loading