Coder Social home page Coder Social logo

codyseibert / youtube Goto Github PK

View Code? Open in Web Editor NEW
385.0 16.0 448.0 100.91 MB

code from my youtube channel

Home Page: youtube-dun.vercel.app

License: MIT License

HTML 1.10% JavaScript 2.92% CSS 94.69% Python 0.28% Vue 0.55% TypeScript 0.42% Shell 0.01% Svelte 0.04%

youtube's People

Contributors

codyseibert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

youtube's Issues

Having issues with calling the API after selecting each value

After building everything there seems to be an issue of the API being called. I tried to rewrite it a few times and when I run and compile the code everything works great, but will not pull up the data for the daily horoscopes.

When checking the network part of the developer tools it looks like there isn't any request being made.

This is currently what I have in my api.js file.

export const getSigns = () => {
return fetch(
      "http://sandipbgt.com/theastrologer/api/sunsigns/"
      ).then((response) => response.json());
};

export const getHoroscope = (sign, timeframe) => {
  return fetch(
    'https://sandipbgt.com/theastrologer/api/horoscope/${sign}/${timeframe}/'
  )
  .then((response) => response.json())
  .then(({horoscope}) => horoscope);
};

The updated file is on my github. Can it be something to do with how it's being called on my Horoscope.JSX file?

here is how my Horoscope.JSX file looks

import { useEffect, useState } from "react";
import { getHoroscope } from '../services/api';

export const Horoscope = ({sign, timeframe}) => {
    const [horoscope, setHoroscope] = useState([]);

    useEffect(() => {
        getHoroscope(sign, timeframe).then(setHoroscope);
    }, [sign, timeframe]);

    return (
        <div>
            <h2>
                {timeframe}, your horoscope for {sign} is...
            </h2>
            <p>{horoscope}</p>
        </div>
    );    
};

Screen Shot 2022-11-03 at 12 19 03 PM

Bug - mail.svg not showing (Formsubmit tutorial)

Hi,

I needed a rewamp on my formsubmit form, and I've been following your tutorial, although for me, my mail.svg, isn't showing. I believe it is a error with my code.

Please help me.

Your tutorial video: https://www.youtube.com/watch?v=14vpfSyIysM
Your github repo: https://github.com/codyseibert/youtube/tree/master/contract-form-formsubmit
My github repo: https://github.com/KendallDoesCoding/email-contact-app

Thanks,
Kendall Does Coding
[email protected]

Confirmation Message missing?

Where do you recommend the code be entered for the confirmation message in your js file ? I did not see it in your code. I used all of your files here you shared with me here but the confirmation message is not appearing when I enter all fields in the form to check it etc.
Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.