Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change text color and footer #10

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
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
9 changes: 8 additions & 1 deletion css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,11 @@ body {
main {
flex: 1 0 auto;
}


h1{
color: white ;
}
p{
color : white ;
text-align: center ;
}
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ <h1 class="center">Speech Recognition</h1>
<main>
<div class="container">
<p>Click on this button, you can ask any question, ask to open a website or search for a query</p>

<button class="btn btn-large">Start Listening <i class="material-icons">hearing</i></button>

<center>
<button class="btn btn-large">Start Listening <i class="material-icons">hearing</i></button>
</center>
<br>
<br>

Expand All @@ -45,7 +45,7 @@ <h1 class="center">Speech Recognition</h1>
</main>
<footer class="page-footer blue darken-4">
<div class="container">
<p class="right-align">Made by Adeen Shukla</p>
<p class="right-align"><a href="https://github.com/adeen-s/speechRecognition/graphs/contributors">List of Contributors</a></p>
</div>
</footer>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ function openSite(speech) {
searchTerm(speech);
}


//Edit contactMe() function according to yourself.
function contactMe() {
synth.speak(new SpeechSynthesisUtterance("Sending an email to Adeen"))
diagnosticPara.textContent = 'Sending an email to Adeen';
Expand Down