Skip to content

Commit

Permalink
Merge pull request #87 from Boobeshkumar56/main
Browse files Browse the repository at this point in the history
added 3d icons for more attractive look
  • Loading branch information
codingkatty authored Oct 15, 2024
2 parents eb9eb17 + 63415d4 commit f7c7dd8
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 1 deletion.
Binary file added images/feedback.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 images/lesson.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 images/task.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,17 @@ <h1>Welcome to Math 4 Python</h1>
<div class="features">
<h2>Key Features:</h2>
<div class="feature">
<img src="images/lesson.png" alt="lesson_image" id="icon1">
<h3>Interactive Lessons</h3>
<p>Learn Python through hands-on, interactive coding exercises.</p>
</div>
<div class="feature">
<img src="images/task.png" alt="challenge_image" id="icon2">
<h3>Math-focused Challenges</h3>
<p>Solve mathematical problems using Python to reinforce your skills.</p>
</div>
<div class="feature">
<img src="images/feedback.png" alt="feedback_image" id="icon3">
<h3>Real-time Feedback</h3>
<p>Get instant feedback on your code and track your progress.</p>
</div>
Expand Down
17 changes: 16 additions & 1 deletion styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,18 @@ body {
.navbar a:hover {
background-color: #007bff;
color: #fff;
box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
box-shadow: 0 4px 12px rgba(163, 165, 167, 0.2);
}

#icon1{
width:50%;
height:50%
}
#icon2,#icon3{
width:50%;
height:40%


}

.navbar a.active {
Expand Down Expand Up @@ -119,6 +130,10 @@ h2 {
.feature:hover {
transform: translateY(-8px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); /* Lift on hover */
#icon1,#icon2,#icon3{
cursor: pointer;
filter:drop-shadow(10px 10px 7px #9dc6f1);
}
}

.feature h3 {
Expand Down

0 comments on commit f7c7dd8

Please sign in to comment.