hari3485 commited on
Commit
ab0ffaf
·
verified ·
1 Parent(s): d867907

Update pages/intro.py

Browse files
Files changed (1) hide show
  1. pages/intro.py +20 -3
pages/intro.py CHANGED
@@ -2,10 +2,27 @@ import streamlit as st
2
 
3
  st.markdown("<h1> ✍What is Data Science?</h1>",unsafe_allow_html=True)
4
 
5
- st.markdown("<p style='margin-top: 0;'>Data science is a field that extracts insights and knowledge from data. It’s like being a detective who uses clues (data) to solve mysteries (business problems or questions).</p></div>,font-size: 18px;", unsafe_allow_html=True)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
 
7
- st.markdown("<h1>What is Artificial Intelligence? 🤖✨</h1>", unsafe_allow_html=True)
8
- st.markdown("<h3 >style='color: #2196f3; font-size: 18px;🌟 Example 🌟</h3>", unsafe_allow_html=True)
9
 
10
  # Story Content
11
  st.markdown("""
 
2
 
3
  st.markdown("<h1> ✍What is Data Science?</h1>",unsafe_allow_html=True)
4
 
5
+ st.markdown("""
6
+ <p style='text-align: justify; color: #333; font-size: 18px;'>Data science is a field that extracts insights and knowledge from data. It’s like being a detective who uses clues (data) to solve mysteries (business problems or questions).
7
+ </p>
8
+ """, unsafe_allow_html=True)
9
+
10
+ st.markdown("<h1>What is Artificial Intelligence? 🤖</h1>", unsafe_allow_html=True)
11
+
12
+ st.subheader("Key Points about AI")
13
+ st.markdown("""
14
+ <ul style="font-family: Arial; line-height: 1.6;">
15
+ <li><b>Artificial Intelligence (AI)</b> enables machines to mimic human intelligence.</li>
16
+ <li>It allows machines to learn from data and generate meaningful outputs.</li>
17
+ <li>AI replicates tasks like recognizing patterns, making decisions, and creating content.</li>
18
+ <li>Machines are trained using data and algorithms to improve over time.</li>
19
+ <li>AI bridges the gap between natural intelligence and machine capabilities.</li>
20
+ </ul>
21
+ """, unsafe_allow_html=True)
22
+
23
+
24
+ st.markdown("<h3 style='text-align: center; color: #4a90e2;'>Example 🤖</h3>", unsafe_allow_html=True)
25
 
 
 
26
 
27
  # Story Content
28
  st.markdown("""